SecureString Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. SecretBase - com.
azure. resourcemanager. synapse. models. SecureString
- com.
- com.
public final class SecureString
extends SecretBase
Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.
Constructor Summary
| Constructor | Description |
|---|---|
| SecureString() |
Creates an instance of Secure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Secure |
fromJson(JsonReader jsonReader)
Reads an instance of Secure |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of the secret. |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of secure string. |
|
Secure |
withValue(String value)
Set the value property: Value of secure string. |
Methods inherited from SecretBase
Methods inherited from java.lang.Object
Constructor Details
SecureString
public SecureString()
Creates an instance of SecureString class.
Method Details
fromJson
public static SecureString fromJson(JsonReader jsonReader)
Reads an instance of SecureString from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecureString.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of the secret.
Overrides:
SecureString.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SecureString.validate()value
public String value()
Get the value property: Value of secure string.
Returns:
withValue
public SecureString withValue(String value)
Set the value property: Value of secure string.
Parameters:
Returns: