DataEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. models. DataEncryption
- com.
Implements
public final class DataEncryption
implements JsonSerializable<DataEncryption>
The data encryption properties of a cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| DataEncryption() |
Creates an instance of Data |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
| String |
primaryKeyUri()
Get the primary |
| String |
primaryUserAssignedIdentityId()
Get the primary |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Data |
type()
Get the type property: The type property. |
|
Data |
withPrimaryKeyUri(String primaryKeyUri)
Set the primary |
|
Data |
withPrimaryUserAssignedIdentityId(String primaryUserAssignedIdentityId)
Set the primary |
|
Data |
withType(DataEncryptionType type)
Set the type property: The type property. |
Methods inherited from java.lang.Object
Constructor Details
DataEncryption
public DataEncryption()
Creates an instance of DataEncryption class.
Method Details
fromJson
public static DataEncryption fromJson(JsonReader jsonReader)
Reads an instance of DataEncryption from the JsonReader.
Parameters:
Returns:
Throws:
primaryKeyUri
public String primaryKeyUri()
Get the primaryKeyUri property: URI for the key in keyvault for data encryption of the primary server.
Returns:
primaryUserAssignedIdentityId
public String primaryUserAssignedIdentityId()
Get the primaryUserAssignedIdentityId property: Resource Id for the User assigned identity to be used for data encryption of the primary server.
Returns:
toJson
type
public DataEncryptionType type()
Get the type property: The type property.
Returns:
withPrimaryKeyUri
public DataEncryption withPrimaryKeyUri(String primaryKeyUri)
Set the primaryKeyUri property: URI for the key in keyvault for data encryption of the primary server.
Parameters:
Returns:
withPrimaryUserAssignedIdentityId
public DataEncryption withPrimaryUserAssignedIdentityId(String primaryUserAssignedIdentityId)
Set the primaryUserAssignedIdentityId property: Resource Id for the User assigned identity to be used for data encryption of the primary server.
Parameters:
Returns:
withType
public DataEncryption withType(DataEncryptionType type)
Set the type property: The type property.
Parameters:
Returns: