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 Summary
Constructors Constructor Description SecureString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.String
value()
Get the value property: Value of secure string.SecureString
withValue(String value)
Set the value property: Value of secure string.
-
-
-
Method Detail
-
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 classSecretBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-