ClientEncryptionKeyGetPropertiesResource Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. ClientEncryptionKeyResource - com.
azure. resourcemanager. cosmos. models. ClientEncryptionKeyGetPropertiesResource
- com.
- com.
public final class ClientEncryptionKeyGetPropertiesResource
extends ClientEncryptionKeyResource
The ClientEncryptionKeyGetPropertiesResource model.
Constructor Summary
Constructor | Description |
---|---|
ClientEncryptionKeyGetPropertiesResource() |
Creates an instance of Client |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: A system generated property representing the resource etag required for optimistic concurrency control. |
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
String |
rid()
Get the rid property: A system generated property. |
Json |
toJson(JsonWriter jsonWriter) |
Float |
ts()
Get the ts property: A system generated property that denotes the last updated timestamp of the resource. |
void |
validate()
Validates the instance. |
Client |
withEncryptionAlgorithm(String encryptionAlgorithm)
Set the encryption |
Client |
withId(String id)
Set the id property: Name of the Client |
Client |
withKeyWrapMetadata(KeyWrapMetadata keyWrapMetadata)
Set the key |
Client |
withWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey)
Set the wrapped |
Methods inherited from ClientEncryptionKeyResource
Methods inherited from java.lang.Object
Constructor Details
ClientEncryptionKeyGetPropertiesResource
public ClientEncryptionKeyGetPropertiesResource()
Creates an instance of ClientEncryptionKeyGetPropertiesResource class.
Method Details
etag
public String etag()
Get the etag property: A system generated property representing the resource etag required for optimistic concurrency control.
Returns:
fromJson
public static ClientEncryptionKeyGetPropertiesResource fromJson(JsonReader jsonReader)
Reads an instance of ClientEncryptionKeyGetPropertiesResource from the JsonReader.
Parameters:
Returns:
Throws:
rid
public String rid()
Get the rid property: A system generated property. A unique identifier.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ClientEncryptionKeyGetPropertiesResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
ts
public Float ts()
Get the ts property: A system generated property that denotes the last updated timestamp of the resource.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
ClientEncryptionKeyGetPropertiesResource.validate()withEncryptionAlgorithm
public ClientEncryptionKeyGetPropertiesResource withEncryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm property: Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data.
Overrides:
ClientEncryptionKeyGetPropertiesResource.withEncryptionAlgorithm(String encryptionAlgorithm)Parameters:
withId
public ClientEncryptionKeyGetPropertiesResource withId(String id)
Set the id property: Name of the ClientEncryptionKey.
Overrides:
ClientEncryptionKeyGetPropertiesResource.withId(String id)Parameters:
withKeyWrapMetadata
public ClientEncryptionKeyGetPropertiesResource withKeyWrapMetadata(KeyWrapMetadata keyWrapMetadata)
Set the keyWrapMetadata property: Metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key.
Overrides:
ClientEncryptionKeyGetPropertiesResource.withKeyWrapMetadata(KeyWrapMetadata keyWrapMetadata)Parameters:
withWrappedDataEncryptionKey
public ClientEncryptionKeyGetPropertiesResource withWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey)
Set the wrappedDataEncryptionKey property: Wrapped (encrypted) form of the key represented as a byte array.
Overrides:
ClientEncryptionKeyGetPropertiesResource.withWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey)Parameters:
Applies to
Azure SDK for Java