Class SecretStoreResource

java.lang.Object
com.azure.resourcemanager.dataprotection.models.SecretStoreResource

public final class SecretStoreResource extends Object
Class representing a secret store resource.
  • Constructor Details

    • SecretStoreResource

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

    • uri

      public String uri()
      Get the uri property: Uri to get to the resource.
      Returns:
      the uri value.
    • withUri

      public SecretStoreResource withUri(String uri)
      Set the uri property: Uri to get to the resource.
      Parameters:
      uri - the uri value to set.
      Returns:
      the SecretStoreResource object itself.
    • secretStoreType

      public SecretStoreType secretStoreType()
      Get the secretStoreType property: Gets or sets the type of secret store.
      Returns:
      the secretStoreType value.
    • withSecretStoreType

      public SecretStoreResource withSecretStoreType(SecretStoreType secretStoreType)
      Set the secretStoreType property: Gets or sets the type of secret store.
      Parameters:
      secretStoreType - the secretStoreType value to set.
      Returns:
      the SecretStoreResource object itself.
    • value

      public String value()
      Get the value property: Gets or sets value stored in secret store resource.
      Returns:
      the value value.
    • withValue

      public SecretStoreResource withValue(String value)
      Set the value property: Gets or sets value stored in secret store resource.
      Parameters:
      value - the value value to set.
      Returns:
      the SecretStoreResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.