Class ConnectedEnvironmentStorageProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.ConnectedEnvironmentStorageProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectedEnvironmentStorageProperties>
public final class ConnectedEnvironmentStorageProperties
extends Object
implements com.azure.json.JsonSerializable<ConnectedEnvironmentStorageProperties>
Storage properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectedEnvironmentStorageProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureFile property: Azure file properties.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectedEnvironmentStorageProperties from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAzureFile
(AzureFileProperties azureFile) Set the azureFile property: Azure file properties.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
-
ConnectedEnvironmentStorageProperties
public ConnectedEnvironmentStorageProperties()Creates an instance of ConnectedEnvironmentStorageProperties class.
-
-
Method Details
-
azureFile
Get the azureFile property: Azure file properties.- Returns:
- the azureFile value.
-
withAzureFile
Set the azureFile property: Azure file properties.- Parameters:
azureFile
- the azureFile value to set.- Returns:
- the ConnectedEnvironmentStorageProperties 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<ConnectedEnvironmentStorageProperties>
- Throws:
IOException
-
fromJson
public static ConnectedEnvironmentStorageProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConnectedEnvironmentStorageProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ConnectedEnvironmentStorageProperties 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 ConnectedEnvironmentStorageProperties.
-