Class ClientEncryptionKeyCreateUpdateParameters

java.lang.Object
com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyCreateUpdateParameters

public final class ClientEncryptionKeyCreateUpdateParameters extends Object
Parameters to create and update ClientEncryptionKey.
  • Constructor Details

    • ClientEncryptionKeyCreateUpdateParameters

      public ClientEncryptionKeyCreateUpdateParameters()
      Creates an instance of ClientEncryptionKeyCreateUpdateParameters class.
  • Method Details

    • resource

      public ClientEncryptionKeyResource 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.