ClientEncryptionKeyCreateUpdateProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. ClientEncryptionKeyCreateUpdateProperties
- com.
Implements
public final class ClientEncryptionKeyCreateUpdateProperties
implements JsonSerializable<ClientEncryptionKeyCreateUpdateProperties>
Properties to create and update ClientEncryptionKey.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientEncryptionKeyCreateUpdateProperties() |
Creates an instance of Client |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
|
Client |
resource()
Get the resource property: The standard JSON format of a Client |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Client |
withResource(ClientEncryptionKeyResource resource)
Set the resource property: The standard JSON format of a Client |
Methods inherited from java.lang.Object
Constructor Details
ClientEncryptionKeyCreateUpdateProperties
public ClientEncryptionKeyCreateUpdateProperties()
Creates an instance of ClientEncryptionKeyCreateUpdateProperties class.
Method Details
fromJson
public static ClientEncryptionKeyCreateUpdateProperties fromJson(JsonReader jsonReader)
Reads an instance of ClientEncryptionKeyCreateUpdateProperties from the JsonReader.
Parameters:
Returns:
Throws:
resource
public ClientEncryptionKeyResource resource()
Get the resource property: The standard JSON format of a ClientEncryptionKey.
Returns:
toJson
validate
public void validate()
Validates the instance.
withResource
public ClientEncryptionKeyCreateUpdateProperties withResource(ClientEncryptionKeyResource resource)
Set the resource property: The standard JSON format of a ClientEncryptionKey.
Parameters:
Returns: