次の方法で共有


RoutingIdentityInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.RoutingIdentityInfo

Implements

public final class RoutingIdentityInfo
implements JsonSerializable<RoutingIdentityInfo>

Routing identity info for topic spaces configuration.

Constructor Summary

Constructor Description
RoutingIdentityInfo()

Creates an instance of RoutingIdentityInfo class.

Method Summary

Modifier and Type Method and Description
static RoutingIdentityInfo fromJson(JsonReader jsonReader)

Reads an instance of RoutingIdentityInfo from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
RoutingIdentityType type()

Get the type property: Routing identity type for topic spaces configuration.

String userAssignedIdentity()

Get the userAssignedIdentity property: The userAssignedIdentity property.

void validate()

Validates the instance.

RoutingIdentityInfo withType(RoutingIdentityType type)

Set the type property: Routing identity type for topic spaces configuration.

RoutingIdentityInfo withUserAssignedIdentity(String userAssignedIdentity)

Set the userAssignedIdentity property: The userAssignedIdentity property.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of RoutingIdentityInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RoutingIdentityInfo.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public RoutingIdentityType type()

Get the type property: Routing identity type for topic spaces configuration.

Returns:

the type value.

userAssignedIdentity

public String userAssignedIdentity()

Get the userAssignedIdentity property: The userAssignedIdentity property.

Returns:

the userAssignedIdentity value.

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:

type - the type value to set.

Returns:

the RoutingIdentityInfo object itself.

withUserAssignedIdentity

public RoutingIdentityInfo withUserAssignedIdentity(String userAssignedIdentity)

Set the userAssignedIdentity property: The userAssignedIdentity property.

Parameters:

userAssignedIdentity - the userAssignedIdentity value to set.

Returns:

the RoutingIdentityInfo object itself.

Applies to