IngressSettings Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. IngressSettings
- com.
Implements
public final class IngressSettings
implements JsonSerializable<IngressSettings>
App ingress settings payload.
Constructor Summary
Constructor | Description |
---|---|
IngressSettings() |
Creates an instance of Ingress |
Method Summary
Modifier and Type | Method and Description |
---|---|
Backend |
backendProtocol()
Get the backend |
Ingress |
clientAuth()
Get the client |
static
Ingress |
fromJson(JsonReader jsonReader)
Reads an instance of Ingress |
Integer |
readTimeoutInSeconds()
Get the read |
Integer |
sendTimeoutInSeconds()
Get the send |
Session |
sessionAffinity()
Get the session |
Integer |
sessionCookieMaxAge()
Get the session |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Ingress |
withBackendProtocol(BackendProtocol backendProtocol)
Set the backend |
Ingress |
withClientAuth(IngressSettingsClientAuth clientAuth)
Set the client |
Ingress |
withReadTimeoutInSeconds(Integer readTimeoutInSeconds)
Set the read |
Ingress |
withSendTimeoutInSeconds(Integer sendTimeoutInSeconds)
Set the send |
Ingress |
withSessionAffinity(SessionAffinity sessionAffinity)
Set the session |
Ingress |
withSessionCookieMaxAge(Integer sessionCookieMaxAge)
Set the session |
Methods inherited from java.lang.Object
Constructor Details
IngressSettings
public IngressSettings()
Creates an instance of IngressSettings class.
Method Details
backendProtocol
public BackendProtocol backendProtocol()
Get the backendProtocol property: How ingress should communicate with this app backend service.
Returns:
clientAuth
public IngressSettingsClientAuth clientAuth()
Get the clientAuth property: Client-Certification Authentication.
Returns:
fromJson
public static IngressSettings fromJson(JsonReader jsonReader)
Reads an instance of IngressSettings from the JsonReader.
Parameters:
Returns:
Throws:
readTimeoutInSeconds
public Integer readTimeoutInSeconds()
Get the readTimeoutInSeconds property: Ingress read time out in seconds.
Returns:
sendTimeoutInSeconds
public Integer sendTimeoutInSeconds()
Get the sendTimeoutInSeconds property: Ingress send time out in seconds.
Returns:
sessionAffinity
public SessionAffinity sessionAffinity()
Get the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.
Returns:
sessionCookieMaxAge
public Integer sessionCookieMaxAge()
Get the sessionCookieMaxAge property: Time in seconds until the cookie expires.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBackendProtocol
public IngressSettings withBackendProtocol(BackendProtocol backendProtocol)
Set the backendProtocol property: How ingress should communicate with this app backend service.
Parameters:
Returns:
withClientAuth
public IngressSettings withClientAuth(IngressSettingsClientAuth clientAuth)
Set the clientAuth property: Client-Certification Authentication.
Parameters:
Returns:
withReadTimeoutInSeconds
public IngressSettings withReadTimeoutInSeconds(Integer readTimeoutInSeconds)
Set the readTimeoutInSeconds property: Ingress read time out in seconds.
Parameters:
Returns:
withSendTimeoutInSeconds
public IngressSettings withSendTimeoutInSeconds(Integer sendTimeoutInSeconds)
Set the sendTimeoutInSeconds property: Ingress send time out in seconds.
Parameters:
Returns:
withSessionAffinity
public IngressSettings withSessionAffinity(SessionAffinity sessionAffinity)
Set the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.
Parameters:
Returns:
withSessionCookieMaxAge
public IngressSettings withSessionCookieMaxAge(Integer sessionCookieMaxAge)
Set the sessionCookieMaxAge property: Time in seconds until the cookie expires.
Parameters:
Returns:
Applies to
Azure SDK for Java