Class GatewayProperties

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

public final class GatewayProperties extends Object
Spring Cloud Gateway properties payload.
  • Constructor Details

    • GatewayProperties

      public GatewayProperties()
  • Method Details

    • provisioningState

      public GatewayProvisioningState provisioningState()
      Get the provisioningState property: State of the Spring Cloud Gateway.
      Returns:
      the provisioningState value.
    • publicProperty

      public Boolean publicProperty()
      Get the publicProperty property: Indicates whether the Spring Cloud Gateway exposes endpoint.
      Returns:
      the publicProperty value.
    • withPublicProperty

      public GatewayProperties withPublicProperty(Boolean publicProperty)
      Set the publicProperty property: Indicates whether the Spring Cloud Gateway exposes endpoint.
      Parameters:
      publicProperty - the publicProperty value to set.
      Returns:
      the GatewayProperties object itself.
    • url

      public String url()
      Get the url property: URL of the Spring Cloud Gateway, exposed when 'public' is true.
      Returns:
      the url value.
    • httpsOnly

      public Boolean httpsOnly()
      Get the httpsOnly property: Indicate if only https is allowed.
      Returns:
      the httpsOnly value.
    • withHttpsOnly

      public GatewayProperties withHttpsOnly(Boolean httpsOnly)
      Set the httpsOnly property: Indicate if only https is allowed.
      Parameters:
      httpsOnly - the httpsOnly value to set.
      Returns:
      the GatewayProperties object itself.
    • ssoProperties

      public SsoProperties ssoProperties()
      Get the ssoProperties property: Single sign-on related configuration.
      Returns:
      the ssoProperties value.
    • withSsoProperties

      public GatewayProperties withSsoProperties(SsoProperties ssoProperties)
      Set the ssoProperties property: Single sign-on related configuration.
      Parameters:
      ssoProperties - the ssoProperties value to set.
      Returns:
      the GatewayProperties object itself.
    • apiMetadataProperties

      public GatewayApiMetadataProperties apiMetadataProperties()
      Get the apiMetadataProperties property: API metadata property for Spring Cloud Gateway.
      Returns:
      the apiMetadataProperties value.
    • withApiMetadataProperties

      public GatewayProperties withApiMetadataProperties(GatewayApiMetadataProperties apiMetadataProperties)
      Set the apiMetadataProperties property: API metadata property for Spring Cloud Gateway.
      Parameters:
      apiMetadataProperties - the apiMetadataProperties value to set.
      Returns:
      the GatewayProperties object itself.
    • corsProperties

      public GatewayCorsProperties corsProperties()
      Get the corsProperties property: Cross-Origin Resource Sharing property.
      Returns:
      the corsProperties value.
    • withCorsProperties

      public GatewayProperties withCorsProperties(GatewayCorsProperties corsProperties)
      Set the corsProperties property: Cross-Origin Resource Sharing property.
      Parameters:
      corsProperties - the corsProperties value to set.
      Returns:
      the GatewayProperties object itself.
    • resourceRequests

      public GatewayResourceRequests resourceRequests()
      Get the resourceRequests property: The requested resource quantity for required CPU and Memory.
      Returns:
      the resourceRequests value.
    • withResourceRequests

      public GatewayProperties withResourceRequests(GatewayResourceRequests resourceRequests)
      Set the resourceRequests property: The requested resource quantity for required CPU and Memory.
      Parameters:
      resourceRequests - the resourceRequests value to set.
      Returns:
      the GatewayProperties object itself.
    • instances

      public List<GatewayInstance> instances()
      Get the instances property: Collection of instances belong to Spring Cloud Gateway.
      Returns:
      the instances value.
    • operatorProperties

      public GatewayOperatorProperties operatorProperties()
      Get the operatorProperties property: Properties of the Spring Cloud Gateway Operator.
      Returns:
      the operatorProperties value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.