RoutingIdentityInfo Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. RoutingIdentityInfo
- com.
Implements
public final class RoutingIdentityInfo
implements JsonSerializable<RoutingIdentityInfo>
Routing identity info for topic spaces configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| RoutingIdentityInfo() |
Creates an instance of Routing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Routing |
type()
Get the type property: Routing identity type for topic spaces configuration. |
| String |
userAssignedIdentity()
Get the user |
| void |
validate()
Validates the instance. |
|
Routing |
withType(RoutingIdentityType type)
Set the type property: Routing identity type for topic spaces configuration. |
|
Routing |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
RoutingIdentityInfo
public RoutingIdentityInfo()
Creates an instance of RoutingIdentityInfo class.
Method Details
fromJson
public static RoutingIdentityInfo fromJson(JsonReader jsonReader)
Reads an instance of RoutingIdentityInfo from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public RoutingIdentityType type()
Get the type property: Routing identity type for topic spaces configuration.
Returns:
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The userAssignedIdentity property.
Returns:
validate
public void validate()
Validates the instance.
withType
public RoutingIdentityInfo withType(RoutingIdentityType type)
Set the type property: Routing identity type for topic spaces configuration.
Parameters:
Returns:
withUserAssignedIdentity
public RoutingIdentityInfo withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The userAssignedIdentity property.
Parameters:
Returns: