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