CaptureIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. CaptureIdentity
- com.
Implements
public final class CaptureIdentity
implements JsonSerializable<CaptureIdentity>
A value that indicates whether capture description is enabled.
Constructor Summary
Constructor | Description |
---|---|
CaptureIdentity() |
Creates an instance of Capture |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Capture |
fromJson(JsonReader jsonReader)
Reads an instance of Capture |
Json |
toJson(JsonWriter jsonWriter) |
Capture |
type()
Get the type property: Type of Azure Active Directory Managed Identity. |
String |
userAssignedIdentity()
Get the user |
void |
validate()
Validates the instance. |
Capture |
withType(CaptureIdentityType type)
Set the type property: Type of Azure Active Directory Managed Identity. |
Capture |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
CaptureIdentity
public CaptureIdentity()
Creates an instance of CaptureIdentity class.
Method Details
fromJson
public static CaptureIdentity fromJson(JsonReader jsonReader)
Reads an instance of CaptureIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public CaptureIdentityType type()
Get the type property: Type of Azure Active Directory Managed Identity.
Returns:
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:
validate
public void validate()
Validates the instance.
withType
public CaptureIdentity withType(CaptureIdentityType type)
Set the type property: Type of Azure Active Directory Managed Identity.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java