public final class SecureString extends SecretBase
Constructor and Description |
---|
SecureString() |
Modifier and Type | Method and 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.
|
public String value()
public SecureString withValue(String value)
value
- the value value to set.public void validate()
validate
in class SecretBase
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.