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 Details

    • ManagedEnvironmentStorageProperties

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

    • azureFile

      public AzureFileProperties azureFile()
      Get the azureFile property: Azure file properties.
      Returns:
      the azureFile value.
    • withAzureFile

      public ManagedEnvironmentStorageProperties withAzureFile(AzureFileProperties azureFile)
      Set the azureFile property: Azure file properties.
      Parameters:
      azureFile - the azureFile value to set.
      Returns:
      the ManagedEnvironmentStorageProperties object itself.
    • nfsAzureFile

      public NfsAzureFileProperties nfsAzureFile()
      Get the nfsAzureFile property: NFS Azure file properties.
      Returns:
      the nfsAzureFile value.
    • withNfsAzureFile

      public ManagedEnvironmentStorageProperties withNfsAzureFile(NfsAzureFileProperties nfsAzureFile)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.