Class TagDescriptionCreateParameters
java.lang.Object
com.azure.resourcemanager.apimanagement.models.TagDescriptionCreateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TagDescriptionCreateParameters>
public final class TagDescriptionCreateParameters
extends Object
implements com.azure.json.JsonSerializable<TagDescriptionCreateParameters>
Parameters supplied to the Create TagDescription operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TagDescriptionCreateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the Tag.Get the externalDocsDescription property: Description of the external resources describing the tag.Get the externalDocsUrl property: Absolute URL of external resources describing the tag.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TagDescriptionCreateParameters from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the Tag.withExternalDocsDescription(String externalDocsDescription) Set the externalDocsDescription property: Description of the external resources describing the tag.withExternalDocsUrl(String externalDocsUrl) Set the externalDocsUrl property: Absolute URL of external resources describing the tag.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TagDescriptionCreateParameters
public TagDescriptionCreateParameters()Creates an instance of TagDescriptionCreateParameters class.
-
-
Method Details
-
description
Get the description property: Description of the Tag.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the Tag.- Parameters:
description- the description value to set.- Returns:
- the TagDescriptionCreateParameters object itself.
-
externalDocsUrl
Get the externalDocsUrl property: Absolute URL of external resources describing the tag.- Returns:
- the externalDocsUrl value.
-
withExternalDocsUrl
Set the externalDocsUrl property: Absolute URL of external resources describing the tag.- Parameters:
externalDocsUrl- the externalDocsUrl value to set.- Returns:
- the TagDescriptionCreateParameters object itself.
-
externalDocsDescription
Get the externalDocsDescription property: Description of the external resources describing the tag.- Returns:
- the externalDocsDescription value.
-
withExternalDocsDescription
Set the externalDocsDescription property: Description of the external resources describing the tag.- Parameters:
externalDocsDescription- the externalDocsDescription value to set.- Returns:
- the TagDescriptionCreateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<TagDescriptionCreateParameters>- Throws:
IOException
-
fromJson
public static TagDescriptionCreateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TagDescriptionCreateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of TagDescriptionCreateParameters 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 TagDescriptionCreateParameters.
-