Class CaptureIdentity

java.lang.Object
com.azure.resourcemanager.eventhubs.models.CaptureIdentity

public final class CaptureIdentity extends Object
A value that indicates whether capture description is enabled.
  • Constructor Details

    • CaptureIdentity

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

    • type

      public CaptureIdentityType type()
      Get the type property: Type of Azure Active Directory Managed Identity.
      Returns:
      the type value.
    • withType

      public CaptureIdentity withType(CaptureIdentityType type)
      Set the type property: Type of Azure Active Directory Managed Identity.
      Parameters:
      type - the type value to set.
      Returns:
      the CaptureIdentity object itself.
    • userAssignedIdentity

      public String userAssignedIdentity()
      Get the userAssignedIdentity property: ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.
      Returns:
      the userAssignedIdentity value.
    • withUserAssignedIdentity

      public CaptureIdentity withUserAssignedIdentity(String userAssignedIdentity)
      Set the userAssignedIdentity property: ARM ID of Managed User Identity. This property is required is the type is UserAssignedIdentity. If type is SystemAssigned, then the System Assigned Identity Associated with the namespace will be used.
      Parameters:
      userAssignedIdentity - the userAssignedIdentity value to set.
      Returns:
      the CaptureIdentity object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.