Class SecretsCollectionInner

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SecretsCollectionInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<SecretsCollectionInner>

public final class SecretsCollectionInner extends Object implements com.azure.json.JsonSerializable<SecretsCollectionInner>
Container App Secrets Collection ARM resource.
  • Constructor Details

    • SecretsCollectionInner

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

    • value

      public List<ContainerAppSecret> value()
      Get the value property: Collection of resources.
      Returns:
      the value value.
    • withValue

      public SecretsCollectionInner withValue(List<ContainerAppSecret> value)
      Set the value property: Collection of resources.
      Parameters:
      value - the value value to set.
      Returns:
      the SecretsCollectionInner 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<SecretsCollectionInner>
      Throws:
      IOException
    • fromJson

      public static SecretsCollectionInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SecretsCollectionInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SecretsCollectionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the SecretsCollectionInner.