Class TagsResultInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.consumption.fluent.models.TagsResultInner
-
public final class TagsResultInner extends com.azure.core.management.ProxyResource
A resource listing all tags.
-
-
Constructor Summary
Constructors Constructor Description TagsResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
etag()
Get the etag property: eTag of the resource.String
nextLink()
Get the nextLink property: The link (url) to the next page of results.String
previousLink()
Get the previousLink property: The link (url) to the previous page of results.List<Tag>
tags()
Get the tags property: A list of Tag.void
validate()
Validates the instance.TagsResultInner
withEtag(String etag)
Set the etag property: eTag of the resource.TagsResultInner
withTags(List<Tag> tags)
Set the tags property: A list of Tag.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.- Returns:
- the etag value.
-
withEtag
public TagsResultInner withEtag(String etag)
Set the etag property: eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not.- Parameters:
etag
- the etag value to set.- Returns:
- the TagsResultInner object itself.
-
withTags
public TagsResultInner withTags(List<Tag> tags)
Set the tags property: A list of Tag.- Parameters:
tags
- the tags value to set.- Returns:
- the TagsResultInner object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The link (url) to the next page of results.- Returns:
- the nextLink value.
-
previousLink
public String previousLink()
Get the previousLink property: The link (url) to the previous page of results.- Returns:
- the previousLink value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-