Class IngressSettings
java.lang.Object
com.azure.resourcemanager.appplatform.models.IngressSettings
App ingress settings payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the backendProtocol property: How ingress should communicate with this app backend service.Get the clientAuth property: Client-Certification Authentication.Get the readTimeoutInSeconds property: Ingress read time out in seconds.Get the sendTimeoutInSeconds property: Ingress send time out in seconds.Get the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.Get the sessionCookieMaxAge property: Time in seconds until the cookie expires.voidvalidate()Validates the instance.withBackendProtocol(BackendProtocol backendProtocol) Set the backendProtocol property: How ingress should communicate with this app backend service.withClientAuth(IngressSettingsClientAuth clientAuth) Set the clientAuth property: Client-Certification Authentication.withReadTimeoutInSeconds(Integer readTimeoutInSeconds) Set the readTimeoutInSeconds property: Ingress read time out in seconds.withSendTimeoutInSeconds(Integer sendTimeoutInSeconds) Set the sendTimeoutInSeconds property: Ingress send time out in seconds.withSessionAffinity(SessionAffinity sessionAffinity) Set the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.withSessionCookieMaxAge(Integer sessionCookieMaxAge) Set the sessionCookieMaxAge property: Time in seconds until the cookie expires.
-
Constructor Details
-
IngressSettings
public IngressSettings()Creates an instance of IngressSettings class.
-
-
Method Details
-
readTimeoutInSeconds
Get the readTimeoutInSeconds property: Ingress read time out in seconds.- Returns:
- the readTimeoutInSeconds value.
-
withReadTimeoutInSeconds
Set the readTimeoutInSeconds property: Ingress read time out in seconds.- Parameters:
readTimeoutInSeconds- the readTimeoutInSeconds value to set.- Returns:
- the IngressSettings object itself.
-
sendTimeoutInSeconds
Get the sendTimeoutInSeconds property: Ingress send time out in seconds.- Returns:
- the sendTimeoutInSeconds value.
-
withSendTimeoutInSeconds
Set the sendTimeoutInSeconds property: Ingress send time out in seconds.- Parameters:
sendTimeoutInSeconds- the sendTimeoutInSeconds value to set.- Returns:
- the IngressSettings object itself.
-
sessionAffinity
Get the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.- Returns:
- the sessionAffinity value.
-
withSessionAffinity
Set the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.- Parameters:
sessionAffinity- the sessionAffinity value to set.- Returns:
- the IngressSettings object itself.
-
sessionCookieMaxAge
Get the sessionCookieMaxAge property: Time in seconds until the cookie expires.- Returns:
- the sessionCookieMaxAge value.
-
withSessionCookieMaxAge
Set the sessionCookieMaxAge property: Time in seconds until the cookie expires.- Parameters:
sessionCookieMaxAge- the sessionCookieMaxAge value to set.- Returns:
- the IngressSettings object itself.
-
backendProtocol
Get the backendProtocol property: How ingress should communicate with this app backend service.- Returns:
- the backendProtocol value.
-
withBackendProtocol
Set the backendProtocol property: How ingress should communicate with this app backend service.- Parameters:
backendProtocol- the backendProtocol value to set.- Returns:
- the IngressSettings object itself.
-
clientAuth
Get the clientAuth property: Client-Certification Authentication.- Returns:
- the clientAuth value.
-
withClientAuth
Set the clientAuth property: Client-Certification Authentication.- Parameters:
clientAuth- the clientAuth value to set.- Returns:
- the IngressSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-