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 scan.

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.

TransparentDataEncryptionScanState scanState()

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

TransparentDataEncryptionState state()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TransparentDataEncryptionProperties withScanState(TransparentDataEncryptionScanState scanState)

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

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.

scanState

public TransparentDataEncryptionScanState scanState()

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

Returns:

the scanState value.

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.

withScanState

public TransparentDataEncryptionProperties withScanState(TransparentDataEncryptionScanState scanState)

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

Parameters:

scanState - the scanState value to set.

Returns:

the TransparentDataEncryptionProperties object itself.

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