IngressConfig Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.IngressConfig

Implements

public final class IngressConfig
implements JsonSerializable<IngressConfig>

Ingress configuration payload for Azure Spring Apps resource.

Constructor Summary

Constructor Description
IngressConfig()

Creates an instance of IngressConfig class.

Method Summary

Modifier and Type Method and Description
static IngressConfig fromJson(JsonReader jsonReader)

Reads an instance of IngressConfig from the JsonReader.

Integer readTimeoutInSeconds()

Get the readTimeoutInSeconds property: Ingress read time out in seconds.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

IngressConfig withReadTimeoutInSeconds(Integer readTimeoutInSeconds)

Set the readTimeoutInSeconds property: Ingress read time out in seconds.

Methods inherited from java.lang.Object

Constructor Details

IngressConfig

public IngressConfig()

Creates an instance of IngressConfig class.

Method Details

fromJson

public static IngressConfig fromJson(JsonReader jsonReader)

Reads an instance of IngressConfig from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IngressConfig if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IngressConfig.

readTimeoutInSeconds

public Integer readTimeoutInSeconds()

Get the readTimeoutInSeconds property: Ingress read time out in seconds.

Returns:

the readTimeoutInSeconds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withReadTimeoutInSeconds

public IngressConfig withReadTimeoutInSeconds(Integer readTimeoutInSeconds)

Set the readTimeoutInSeconds property: Ingress read time out in seconds.

Parameters:

readTimeoutInSeconds - the readTimeoutInSeconds value to set.

Returns:

the IngressConfig object itself.

Applies to