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 Summary
ConstructorsConstructorDescriptionCreates an instance of SessionPoolUpdatablePropertiesProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.Get the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SessionPoolUpdatablePropertiesProperties from the JsonReader.Get the scaleConfiguration property: The scale configuration of the session pool.secrets()
Get the secrets property: The secrets of the session pool.Get the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withCustomContainerTemplate
(CustomContainerTemplate customContainerTemplate) Set the customContainerTemplate property: The custom container configuration if the containerType is CustomContainer.withDynamicPoolConfiguration
(DynamicPoolConfiguration dynamicPoolConfiguration) Set the dynamicPoolConfiguration property: The pool configuration if the poolManagementType is dynamic.withScaleConfiguration
(ScaleConfiguration scaleConfiguration) Set the scaleConfiguration property: The scale configuration of the session pool.withSecrets
(List<SessionPoolSecret> secrets) Set the secrets property: The secrets of the session pool.withSessionNetworkConfiguration
(SessionNetworkConfiguration sessionNetworkConfiguration) Set the sessionNetworkConfiguration property: The network configuration of the sessions in the session pool.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SessionPoolUpdatablePropertiesProperties
public SessionPoolUpdatablePropertiesProperties()Creates an instance of SessionPoolUpdatablePropertiesProperties class.
-
-
Method Details
-
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
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
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
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
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
- Specified by:
toJson
in interfacecom.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.
-