EventSubscriptionIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. EventSubscriptionIdentity
- com.
Implements
public final class EventSubscriptionIdentity
implements JsonSerializable<EventSubscriptionIdentity>
The identity information with the event subscription.
Constructor Summary
| Constructor | Description |
|---|---|
| EventSubscriptionIdentity() |
Creates an instance of Event |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Federated |
federatedIdentityCredentialInfo()
Get the federated |
|
static
Event |
fromJson(JsonReader jsonReader)
Reads an instance of Event |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Event |
type()
Get the type property: The type of managed identity used. |
| String |
userAssignedIdentity()
Get the user |
| void |
validate()
Validates the instance. |
|
Event |
withFederatedIdentityCredentialInfo(FederatedIdentityCredentialInfo federatedIdentityCredentialInfo)
Set the federated |
|
Event |
withType(EventSubscriptionIdentityType type)
Set the type property: The type of managed identity used. |
|
Event |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
EventSubscriptionIdentity
public EventSubscriptionIdentity()
Creates an instance of EventSubscriptionIdentity class.
Method Details
federatedIdentityCredentialInfo
public FederatedIdentityCredentialInfo federatedIdentityCredentialInfo()
Get the federatedIdentityCredentialInfo property: The details of the Federated Identity Credential (FIC) used with the resource delivery.
Returns:
fromJson
public static EventSubscriptionIdentity fromJson(JsonReader jsonReader)
Reads an instance of EventSubscriptionIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public EventSubscriptionIdentityType type()
Get the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Returns:
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The user identity associated with the resource.
Returns:
validate
public void validate()
Validates the instance.
withFederatedIdentityCredentialInfo
public EventSubscriptionIdentity withFederatedIdentityCredentialInfo(FederatedIdentityCredentialInfo federatedIdentityCredentialInfo)
Set the federatedIdentityCredentialInfo property: The details of the Federated Identity Credential (FIC) used with the resource delivery.
Parameters:
Returns:
withType
public EventSubscriptionIdentity withType(EventSubscriptionIdentityType type)
Set the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Parameters:
Returns:
withUserAssignedIdentity
public EventSubscriptionIdentity withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The user identity associated with the resource.
Parameters:
Returns: