Class KekIdentityProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.KekIdentityProperties
-
public final class KekIdentityProperties extends Object
Key encryption key properties.
-
-
Constructor Summary
Constructors Constructor Description KekIdentityProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
userAssignedIdentity()
Get the userAssignedIdentity property: User assigned identity resource Id.Object
useSystemAssignedIdentity()
Get the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.void
validate()
Validates the instance.KekIdentityProperties
withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: User assigned identity resource Id.KekIdentityProperties
withUseSystemAssignedIdentity(Object useSystemAssignedIdentity)
Set the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.
-
-
-
Method Detail
-
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: User assigned identity resource Id.- Returns:
- the userAssignedIdentity value.
-
withUserAssignedIdentity
public KekIdentityProperties withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: User assigned identity resource Id.- Parameters:
userAssignedIdentity
- the userAssignedIdentity value to set.- Returns:
- the KekIdentityProperties object itself.
-
useSystemAssignedIdentity
public Object useSystemAssignedIdentity()
Get the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.- Returns:
- the useSystemAssignedIdentity value.
-
withUseSystemAssignedIdentity
public KekIdentityProperties withUseSystemAssignedIdentity(Object useSystemAssignedIdentity)
Set the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.- Parameters:
useSystemAssignedIdentity
- the useSystemAssignedIdentity value to set.- Returns:
- the KekIdentityProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-