java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.devtestlabs.fluent.models.SecretInner

public final class SecretInner extends com.azure.core.management.Resource
A secret.
  • Constructor Details

    • SecretInner

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

    • withLocation

      public SecretInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public SecretInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • value

      public String value()
      Get the value property: The value of the secret for secret creation.
      Returns:
      the value value.
    • withValue

      public SecretInner withValue(String value)
      Set the value property: The value of the secret for secret creation.
      Parameters:
      value - the value value to set.
      Returns:
      the SecretInner object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioning status of the resource.
      Returns:
      the provisioningState value.
    • uniqueIdentifier

      public String uniqueIdentifier()
      Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
      Returns:
      the uniqueIdentifier value.
    • validate

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