Class SecureString

java.lang.Object
com.azure.resourcemanager.datafactory.models.SecretBase
com.azure.resourcemanager.datafactory.models.SecureString

public final class SecureString extends SecretBase
Azure Data Factory secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.
  • Constructor Details

    • SecureString

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

    • value

      public String value()
      Get the value property: Value of secure string.
      Returns:
      the value value.
    • withValue

      public SecureString withValue(String value)
      Set the value property: Value of secure string.
      Parameters:
      value - the value value to set.
      Returns:
      the SecureString object itself.
    • validate

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