Class KekIdentityProperties

java.lang.Object
com.azure.resourcemanager.synapse.models.KekIdentityProperties

public final class KekIdentityProperties extends Object
Key encryption key properties.
  • Constructor Details

    • KekIdentityProperties

      public KekIdentityProperties()
      Creates an instance of KekIdentityProperties class.
  • Method Details

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