Del via


ManagedTransparentDataEncryptionProperties Class

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

Implements

public final class ManagedTransparentDataEncryptionProperties
implements JsonSerializable<ManagedTransparentDataEncryptionProperties>

Properties of a transparent data encryption.

Constructor Summary

Constructor Description
ManagedTransparentDataEncryptionProperties()

Creates an instance of ManagedTransparentDataEncryptionProperties class.

Method Summary

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

Reads an instance of ManagedTransparentDataEncryptionProperties 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.

ManagedTransparentDataEncryptionProperties withState(TransparentDataEncryptionState state)

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

Methods inherited from java.lang.Object

Constructor Details

ManagedTransparentDataEncryptionProperties

public ManagedTransparentDataEncryptionProperties()

Creates an instance of ManagedTransparentDataEncryptionProperties class.

Method Details

fromJson

public static ManagedTransparentDataEncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedTransparentDataEncryptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedTransparentDataEncryptionProperties 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 ManagedTransparentDataEncryptionProperties withState(TransparentDataEncryptionState state)

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

Parameters:

state - the state value to set.

Returns:

the ManagedTransparentDataEncryptionProperties object itself.

Applies to