Udostępnij za pośrednictwem


SystemTopicUpdateParameters Class

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

Implements

public final class SystemTopicUpdateParameters
implements JsonSerializable<SystemTopicUpdateParameters>

Properties of the System Topic update.

Constructor Summary

Constructor Description
SystemTopicUpdateParameters()

Creates an instance of SystemTopicUpdateParameters class.

Method Summary

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

Reads an instance of SystemTopicUpdateParameters from the JsonReader.

IdentityInfo identity()

Get the identity property: Resource identity information.

Map<String,String> tags()

Get the tags property: Tags of the system topic.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SystemTopicUpdateParameters withIdentity(IdentityInfo identity)

Set the identity property: Resource identity information.

SystemTopicUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the system topic.

Methods inherited from java.lang.Object

Constructor Details

SystemTopicUpdateParameters

public SystemTopicUpdateParameters()

Creates an instance of SystemTopicUpdateParameters class.

Method Details

fromJson

public static SystemTopicUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of SystemTopicUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SystemTopicUpdateParameters 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 SystemTopicUpdateParameters.

identity

public IdentityInfo identity()

Get the identity property: Resource identity information.

Returns:

the identity value.

tags

public Map<String,String> tags()

Get the tags property: Tags of the system topic.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIdentity

public SystemTopicUpdateParameters withIdentity(IdentityInfo identity)

Set the identity property: Resource identity information.

Parameters:

identity - the identity value to set.

Returns:

the SystemTopicUpdateParameters object itself.

withTags

public SystemTopicUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the system topic.

Parameters:

tags - the tags value to set.

Returns:

the SystemTopicUpdateParameters object itself.

Applies to