@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
TagResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceARN()
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
List<Tag> |
getTags()
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule.
|
int |
hashCode() |
void |
setResourceARN(String resourceARN)
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
void |
setTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withResourceARN(String resourceARN)
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
|
TagResourceRequest |
withTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule.
|
TagResourceRequest |
withTags(Tag... tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setResourceARN(String resourceARN)
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
resourceARN
- The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.public String getResourceARN()
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
public TagResourceRequest withResourceARN(String resourceARN)
The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.
resourceARN
- The Amazon Resource Number (ARN) of an X-Ray group or sampling rule.public List<Tag> getTags()
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging AWS resources in the AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete system
tags.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete
system tags.
public void setTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging AWS resources in the AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete system
tags.
tags
- A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For
more information about ways to use tags, see Tagging AWS resources in the
AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete
system tags.
public TagResourceRequest withTags(Tag... tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging AWS resources in the AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete system
tags.
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
- A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For
more information about ways to use tags, see Tagging AWS resources in the
AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete
system tags.
public TagResourceRequest withTags(Collection<Tag> tags)
A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For more information about ways to use tags, see Tagging AWS resources in the AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete system
tags.
tags
- A map that contains one or more tag keys and tag values to attach to an X-Ray group or sampling rule. For
more information about ways to use tags, see Tagging AWS resources in the
AWS General Reference.
The following restrictions apply to tags:
Maximum number of user-applied tags per resource: 50
Maximum tag key length: 128 Unicode characters
Maximum tag value length: 256 Unicode characters
Valid values for key and value: a-z, A-Z, 0-9, space, and the following characters: _ . : / = + - and @
Tag keys and values are case sensitive.
Don't use aws:
as a prefix for keys; it's reserved for AWS use. You cannot edit or delete
system tags.
public String toString()
toString
in class Object
Object.toString()
public TagResourceRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.