@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTagsForResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
List<Tag> |
getTags()
The tags that are associated with the resource.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
void |
setTags(Collection<Tag> tags)
The tags that are associated with the resource.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceResult |
withNextToken(String nextToken)
When you request a list of objects with a
MaxResults setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken value in the response. |
ListTagsForResourceResult |
withTags(Collection<Tag> tags)
The tags that are associated with the resource.
|
ListTagsForResourceResult |
withTags(Tag... tags)
The tags that are associated with the resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public String getNextToken()
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public ListTagsForResourceResult withNextToken(String nextToken)
When you request a list of objects with a MaxResults
setting, if the number of objects that are
still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token returned from
the prior request in your next request.
nextToken
- When you request a list of objects with a MaxResults
setting, if the number of objects that
are still available for retrieval exceeds the maximum you requested, Network Firewall returns a
NextToken
value in the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.public List<Tag> getTags()
The tags that are associated with the resource.
public void setTags(Collection<Tag> tags)
The tags that are associated with the resource.
tags
- The tags that are associated with the resource.public ListTagsForResourceResult withTags(Tag... tags)
The tags that are associated with the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags that are associated with the resource.public ListTagsForResourceResult withTags(Collection<Tag> tags)
The tags that are associated with the resource.
tags
- The tags that are associated with the resource.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceResult clone()