Class IngressSettings

java.lang.Object
com.azure.resourcemanager.appplatform.models.IngressSettings

public final class IngressSettings extends Object
App ingress settings payload.
  • Constructor Details

    • IngressSettings

      public IngressSettings()
  • Method Details

    • readTimeoutInSeconds

      public Integer readTimeoutInSeconds()
      Get the readTimeoutInSeconds property: Ingress read time out in seconds.
      Returns:
      the readTimeoutInSeconds value.
    • withReadTimeoutInSeconds

      public IngressSettings withReadTimeoutInSeconds(Integer readTimeoutInSeconds)
      Set the readTimeoutInSeconds property: Ingress read time out in seconds.
      Parameters:
      readTimeoutInSeconds - the readTimeoutInSeconds value to set.
      Returns:
      the IngressSettings object itself.
    • sendTimeoutInSeconds

      public Integer sendTimeoutInSeconds()
      Get the sendTimeoutInSeconds property: Ingress send time out in seconds.
      Returns:
      the sendTimeoutInSeconds value.
    • withSendTimeoutInSeconds

      public IngressSettings withSendTimeoutInSeconds(Integer sendTimeoutInSeconds)
      Set the sendTimeoutInSeconds property: Ingress send time out in seconds.
      Parameters:
      sendTimeoutInSeconds - the sendTimeoutInSeconds value to set.
      Returns:
      the IngressSettings object itself.
    • sessionAffinity

      public SessionAffinity sessionAffinity()
      Get the sessionAffinity property: Type of the affinity, set this to Cookie to enable session affinity.
      Returns:
      the sessionAffinity value.
    • withSessionAffinity

      public IngressSettings withSessionAffinity(SessionAffinity sessionAffinity)
      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

      public Integer sessionCookieMaxAge()
      Get the sessionCookieMaxAge property: Time in seconds until the cookie expires.
      Returns:
      the sessionCookieMaxAge value.
    • withSessionCookieMaxAge

      public IngressSettings withSessionCookieMaxAge(Integer sessionCookieMaxAge)
      Set the sessionCookieMaxAge property: Time in seconds until the cookie expires.
      Parameters:
      sessionCookieMaxAge - the sessionCookieMaxAge value to set.
      Returns:
      the IngressSettings object itself.
    • backendProtocol

      public BackendProtocol backendProtocol()
      Get the backendProtocol property: How ingress should communicate with this app backend service.
      Returns:
      the backendProtocol value.
    • withBackendProtocol

      public IngressSettings withBackendProtocol(BackendProtocol backendProtocol)
      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

      public IngressSettingsClientAuth clientAuth()
      Get the clientAuth property: Client-Certification Authentication.
      Returns:
      the clientAuth value.
    • withClientAuth

      public IngressSettings withClientAuth(IngressSettingsClientAuth clientAuth)
      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.