Class SessionPoolUpdatablePropertiesProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.fluent.models.SessionPoolUpdatablePropertiesProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<SessionPoolUpdatablePropertiesProperties>

public final class SessionPoolUpdatablePropertiesProperties extends Object implements com.azure.json.JsonSerializable<SessionPoolUpdatablePropertiesProperties>
Session pool resource specific updatable properties.
  • Constructor Details

    • SessionPoolUpdatablePropertiesProperties

      public SessionPoolUpdatablePropertiesProperties()
      Creates an instance of SessionPoolUpdatablePropertiesProperties class.
  • Method Details

    • scaleConfiguration

      public ScaleConfiguration scaleConfiguration()
      Get the scaleConfiguration property: The scale configuration of the session pool.
      Returns:
      the scaleConfiguration value.
    • withScaleConfiguration

      public SessionPoolUpdatablePropertiesProperties withScaleConfiguration(ScaleConfiguration scaleConfiguration)
      Set the scaleConfiguration property: The scale configuration of the session pool.
      Parameters:
      scaleConfiguration - the scaleConfiguration value to set.
      Returns:
      the SessionPoolUpdatablePropertiesProperties object itself.
    • secrets

      public List<SessionPoolSecret> secrets()
      Get the secrets property: The secrets of the session pool.
      Returns:
      the secrets value.
    • withSecrets

      Set the secrets property: The secrets of the session pool.
      Parameters:
      secrets - the secrets value to set.
      Returns:
      the SessionPoolUpdatablePropertiesProperties object itself.
    • dynamicPoolConfiguration

      public DynamicPoolConfiguration dynamicPoolConfiguration()
      Get the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.
      Returns:
      the dynamicPoolConfiguration value.
    • withDynamicPoolConfiguration

      public SessionPoolUpdatablePropertiesProperties withDynamicPoolConfiguration(DynamicPoolConfiguration dynamicPoolConfiguration)
      Set the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.
      Parameters:
      dynamicPoolConfiguration - the dynamicPoolConfiguration value to set.
      Returns:
      the SessionPoolUpdatablePropertiesProperties object itself.
    • customContainerTemplate

      public CustomContainerTemplate customContainerTemplate()
      Get the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.
      Returns:
      the customContainerTemplate value.
    • withCustomContainerTemplate

      public SessionPoolUpdatablePropertiesProperties withCustomContainerTemplate(CustomContainerTemplate customContainerTemplate)
      Set the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.
      Parameters:
      customContainerTemplate - the customContainerTemplate value to set.
      Returns:
      the SessionPoolUpdatablePropertiesProperties object itself.
    • sessionNetworkConfiguration

      public SessionNetworkConfiguration sessionNetworkConfiguration()
      Get the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.
      Returns:
      the sessionNetworkConfiguration value.
    • withSessionNetworkConfiguration

      public SessionPoolUpdatablePropertiesProperties withSessionNetworkConfiguration(SessionNetworkConfiguration sessionNetworkConfiguration)
      Set the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.
      Parameters:
      sessionNetworkConfiguration - the sessionNetworkConfiguration value to set.
      Returns:
      the SessionPoolUpdatablePropertiesProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SessionPoolUpdatablePropertiesProperties>
      Throws:
      IOException
    • fromJson

      public static SessionPoolUpdatablePropertiesProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SessionPoolUpdatablePropertiesProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SessionPoolUpdatablePropertiesProperties 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 SessionPoolUpdatablePropertiesProperties.