Share via


EncryptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.dell.storage.models.EncryptionProperties

Implements

public final class EncryptionProperties
implements JsonSerializable<EncryptionProperties>

EncryptionProperties of Dell FileSystem resource.

Constructor Summary

Constructor Description
EncryptionProperties()

Creates an instance of EncryptionProperties class.

Method Summary

Modifier and Type Method and Description
EncryptionIdentityProperties encryptionIdentityProperties()

Get the encryptionIdentityProperties property: Identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault - Only when user opts for CMK and hence optional.

ResourceEncryptionType encryptionType()

Get the encryptionType property: Encryption Type - MMK/CMK.

static EncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionProperties from the JsonReader.

String keyUrl()

Get the keyUrl property: Versioned Encryption Key Url - Only when user opts for CMK and hence optional.

JsonWriter toJson(JsonWriter jsonWriter)
EncryptionProperties withEncryptionIdentityProperties(EncryptionIdentityProperties encryptionIdentityProperties)

Set the encryptionIdentityProperties property: Identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault - Only when user opts for CMK and hence optional.

EncryptionProperties withEncryptionType(ResourceEncryptionType encryptionType)

Set the encryptionType property: Encryption Type - MMK/CMK.

EncryptionProperties withKeyUrl(String keyUrl)

Set the keyUrl property: Versioned Encryption Key Url - Only when user opts for CMK and hence optional.

Methods inherited from java.lang.Object

Constructor Details

EncryptionProperties

public EncryptionProperties()

Creates an instance of EncryptionProperties class.

Method Details

encryptionIdentityProperties

public EncryptionIdentityProperties encryptionIdentityProperties()

Get the encryptionIdentityProperties property: Identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault - Only when user opts for CMK and hence optional.

Returns:

the encryptionIdentityProperties value.

encryptionType

public ResourceEncryptionType encryptionType()

Get the encryptionType property: Encryption Type - MMK/CMK.

Returns:

the encryptionType value.

fromJson

public static EncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EncryptionProperties 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.

keyUrl

public String keyUrl()

Get the keyUrl property: Versioned Encryption Key Url - Only when user opts for CMK and hence optional.

Returns:

the keyUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withEncryptionIdentityProperties

public EncryptionProperties withEncryptionIdentityProperties(EncryptionIdentityProperties encryptionIdentityProperties)

Set the encryptionIdentityProperties property: Identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault - Only when user opts for CMK and hence optional.

Parameters:

encryptionIdentityProperties - the encryptionIdentityProperties value to set.

Returns:

the EncryptionProperties object itself.

withEncryptionType

public EncryptionProperties withEncryptionType(ResourceEncryptionType encryptionType)

Set the encryptionType property: Encryption Type - MMK/CMK.

Parameters:

encryptionType - the encryptionType value to set.

Returns:

the EncryptionProperties object itself.

withKeyUrl

public EncryptionProperties withKeyUrl(String keyUrl)

Set the keyUrl property: Versioned Encryption Key Url - Only when user opts for CMK and hence optional.

Parameters:

keyUrl - the keyUrl value to set.

Returns:

the EncryptionProperties object itself.

Applies to