public class TagResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable
Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to AWS resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.
Constructor and Description |
---|
TagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceARN()
The ARN of the signaling channel to which you want to add tags.
|
java.util.List<Tag> |
getTags()
A list of tags to associate with the specified signaling channel.
|
int |
hashCode() |
void |
setResourceARN(java.lang.String resourceARN)
The ARN of the signaling channel to which you want to add tags.
|
void |
setTags(java.util.Collection<Tag> tags)
A list of tags to associate with the specified signaling channel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TagResourceRequest |
withResourceARN(java.lang.String resourceARN)
The ARN of the signaling channel to which you want to add tags.
|
TagResourceRequest |
withTags(java.util.Collection<Tag> tags)
A list of tags to associate with the specified signaling channel.
|
TagResourceRequest |
withTags(Tag... tags)
A list of tags to associate with the specified signaling channel.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getResourceARN()
The ARN of the signaling channel to which you want to add tags.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
The ARN of the signaling channel to which you want to add tags.
public void setResourceARN(java.lang.String resourceARN)
The ARN of the signaling channel to which you want to add tags.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
resourceARN
- The ARN of the signaling channel to which you want to add tags.
public TagResourceRequest withResourceARN(java.lang.String resourceARN)
The ARN of the signaling channel to which you want to add tags.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
resourceARN
- The ARN of the signaling channel to which you want to add tags.
public java.util.List<Tag> getTags()
A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
public void setTags(java.util.Collection<Tag> tags)
A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
tags
- A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
public TagResourceRequest withTags(Tag... tags)
A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
public TagResourceRequest withTags(java.util.Collection<Tag> tags)
A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
Returns a reference to this object so that method calls can be chained together.
tags
- A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.