Share via


EncryptionUpdateProperties Class

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

Implements

public final class EncryptionUpdateProperties
implements JsonSerializable<EncryptionUpdateProperties>

EncryptionUpdateProperties of Dell FileSystem resource.

Constructor Summary

Constructor Description
EncryptionUpdateProperties()

Creates an instance of EncryptionUpdateProperties class.

Method Summary

Modifier and Type Method and Description
EncryptionIdentityUpdateProperties 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 EncryptionUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionUpdateProperties 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)
EncryptionUpdateProperties withEncryptionIdentityProperties(EncryptionIdentityUpdateProperties 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.

EncryptionUpdateProperties withEncryptionType(ResourceEncryptionType encryptionType)

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

EncryptionUpdateProperties 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

EncryptionUpdateProperties

public EncryptionUpdateProperties()

Creates an instance of EncryptionUpdateProperties class.

Method Details

encryptionIdentityProperties

public EncryptionIdentityUpdateProperties 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 EncryptionUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the EncryptionUpdateProperties.

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 EncryptionUpdateProperties withEncryptionIdentityProperties(EncryptionIdentityUpdateProperties 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 EncryptionUpdateProperties object itself.

withEncryptionType

public EncryptionUpdateProperties withEncryptionType(ResourceEncryptionType encryptionType)

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

Parameters:

encryptionType - the encryptionType value to set.

Returns:

the EncryptionUpdateProperties object itself.

withKeyUrl

public EncryptionUpdateProperties 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 EncryptionUpdateProperties object itself.

Applies to