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 Details

    • ConnectedEnvironmentStorageProperties

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

    • azureFile

      public AzureFileProperties 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

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