Class TagDescriptionContractProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.fluent.models.TagDescriptionBaseProperties
-
- com.azure.resourcemanager.apimanagement.fluent.models.TagDescriptionContractProperties
-
public final class TagDescriptionContractProperties extends TagDescriptionBaseProperties
TagDescription contract Properties.
-
-
Constructor Summary
Constructors Constructor Description TagDescriptionContractProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Tag name.String
tagId()
Get the tagId property: Identifier of the tag in the form of /tags/{tagId}.void
validate()
Validates the instance.TagDescriptionContractProperties
withDescription(String description)
Set the description property: Description of the Tag.TagDescriptionContractProperties
withDisplayName(String displayName)
Set the displayName property: Tag name.TagDescriptionContractProperties
withExternalDocsDescription(String externalDocsDescription)
Set the externalDocsDescription property: Description of the external resources describing the tag.TagDescriptionContractProperties
withExternalDocsUrl(String externalDocsUrl)
Set the externalDocsUrl property: Absolute URL of external resources describing the tag.TagDescriptionContractProperties
withTagId(String tagId)
Set the tagId property: Identifier of the tag in the form of /tags/{tagId}.-
Methods inherited from class com.azure.resourcemanager.apimanagement.fluent.models.TagDescriptionBaseProperties
description, externalDocsDescription, externalDocsUrl
-
-
-
-
Method Detail
-
tagId
public String tagId()
Get the tagId property: Identifier of the tag in the form of /tags/{tagId}.- Returns:
- the tagId value.
-
withTagId
public TagDescriptionContractProperties withTagId(String tagId)
Set the tagId property: Identifier of the tag in the form of /tags/{tagId}.- Parameters:
tagId
- the tagId value to set.- Returns:
- the TagDescriptionContractProperties object itself.
-
displayName
public String displayName()
Get the displayName property: Tag name.- Returns:
- the displayName value.
-
withDisplayName
public TagDescriptionContractProperties withDisplayName(String displayName)
Set the displayName property: Tag name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the TagDescriptionContractProperties object itself.
-
withDescription
public TagDescriptionContractProperties withDescription(String description)
Set the description property: Description of the Tag.- Overrides:
withDescription
in classTagDescriptionBaseProperties
- Parameters:
description
- the description value to set.- Returns:
- the TagDescriptionBaseProperties object itself.
-
withExternalDocsUrl
public TagDescriptionContractProperties withExternalDocsUrl(String externalDocsUrl)
Set the externalDocsUrl property: Absolute URL of external resources describing the tag.- Overrides:
withExternalDocsUrl
in classTagDescriptionBaseProperties
- Parameters:
externalDocsUrl
- the externalDocsUrl value to set.- Returns:
- the TagDescriptionBaseProperties object itself.
-
withExternalDocsDescription
public TagDescriptionContractProperties withExternalDocsDescription(String externalDocsDescription)
Set the externalDocsDescription property: Description of the external resources describing the tag.- Overrides:
withExternalDocsDescription
in classTagDescriptionBaseProperties
- Parameters:
externalDocsDescription
- the externalDocsDescription value to set.- Returns:
- the TagDescriptionBaseProperties object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTagDescriptionBaseProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-