SecureString Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. SecretBase - com.
azure. analytics. synapse. artifacts. 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 |
| String |
getType()
Get the type property: Type of the secret. |
| String |
getValue()
Get the value property: Value of secure string. |
|
Secure |
setValue(String value)
Set the value property: Value of secure string. |
|
Json |
toJson(JsonWriter jsonWriter) |
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:
getType
public String getType()
Get the type property: Type of the secret.
Overrides:
SecureString.getType()Returns:
getValue
public String getValue()
Get the value property: Value of secure string.
Returns:
setValue
public SecureString setValue(String value)
Set the value property: Value of secure string.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecureString.toJson(JsonWriter jsonWriter)Parameters:
Throws: