Class SecretListResult

java.lang.Object
com.azure.resourcemanager.keyvault.models.SecretListResult
All Implemented Interfaces:
com.azure.json.JsonSerializable<SecretListResult>

public final class SecretListResult extends Object implements com.azure.json.JsonSerializable<SecretListResult>
List of secrets.
  • Constructor Details

    • SecretListResult

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

    • value

      public List<SecretInner> value()
      Get the value property: The list of secrets.
      Returns:
      the value value.
    • withValue

      public SecretListResult withValue(List<SecretInner> value)
      Set the value property: The list of secrets.
      Parameters:
      value - the value value to set.
      Returns:
      the SecretListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The URL to get the next set of secrets.
      Returns:
      the nextLink value.
    • withNextLink

      public SecretListResult withNextLink(String nextLink)
      Set the nextLink property: The URL to get the next set of secrets.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the SecretListResult 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<SecretListResult>
      Throws:
      IOException
    • fromJson

      public static SecretListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SecretListResult from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SecretListResult 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 SecretListResult.