Class ClientEncryptionKeyCreateUpdateParameters
java.lang.Object
com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyCreateUpdateParameters
Parameters to create and update ClientEncryptionKey.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ClientEncryptionKeyCreateUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionresource()Get the resource property: The standard JSON format of a ClientEncryptionKey.voidvalidate()Validates the instance.withResource(ClientEncryptionKeyResource resource) Set the resource property: The standard JSON format of a ClientEncryptionKey.
-
Constructor Details
-
ClientEncryptionKeyCreateUpdateParameters
public ClientEncryptionKeyCreateUpdateParameters()Creates an instance of ClientEncryptionKeyCreateUpdateParameters class.
-
-
Method Details
-
resource
Get the resource property: The standard JSON format of a ClientEncryptionKey.- Returns:
- the resource value.
-
withResource
Set the resource property: The standard JSON format of a ClientEncryptionKey.- Parameters:
resource- the resource value to set.- Returns:
- the ClientEncryptionKeyCreateUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-