Udostępnij za pośrednictwem


PartnerDestinationUpdateParameters Class

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

Implements

public final class PartnerDestinationUpdateParameters
implements JsonSerializable<PartnerDestinationUpdateParameters>

Properties of the Partner Destination that can be updated.

Constructor Summary

Constructor Description
PartnerDestinationUpdateParameters()

Creates an instance of PartnerDestinationUpdateParameters class.

Method Summary

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

Reads an instance of PartnerDestinationUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Tags of the Partner Destination resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PartnerDestinationUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags of the Partner Destination resource.

Methods inherited from java.lang.Object

Constructor Details

PartnerDestinationUpdateParameters

public PartnerDestinationUpdateParameters()

Creates an instance of PartnerDestinationUpdateParameters class.

Method Details

fromJson

public static PartnerDestinationUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of PartnerDestinationUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Tags of the Partner Destination resource.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: Tags of the Partner Destination resource.

Parameters:

tags - the tags value to set.

Returns:

the PartnerDestinationUpdateParameters object itself.

Applies to