Del via


TransparentDataEncryptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.TransparentDataEncryptionProperties

Implements

public final class TransparentDataEncryptionProperties
implements JsonSerializable<TransparentDataEncryptionProperties>

Properties of a transparent data encryption.

Constructor Summary

Constructor Description
TransparentDataEncryptionProperties()

Creates an instance of TransparentDataEncryptionProperties class.

Method Summary

Modifier and Type Method and Description
static TransparentDataEncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of TransparentDataEncryptionProperties from the JsonReader.

TransparentDataEncryptionState state()

Get the state property: Specifies the state of the transparent data encryption.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TransparentDataEncryptionProperties withState(TransparentDataEncryptionState state)

Set the state property: Specifies the state of the transparent data encryption.

Methods inherited from java.lang.Object

Constructor Details

TransparentDataEncryptionProperties

public TransparentDataEncryptionProperties()

Creates an instance of TransparentDataEncryptionProperties class.

Method Details

fromJson

public static TransparentDataEncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of TransparentDataEncryptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransparentDataEncryptionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

state

public TransparentDataEncryptionState state()

Get the state property: Specifies the state of the transparent data encryption.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withState

public TransparentDataEncryptionProperties withState(TransparentDataEncryptionState state)

Set the state property: Specifies the state of the transparent data encryption.

Parameters:

state - the state value to set.

Returns:

the TransparentDataEncryptionProperties object itself.

Applies to