@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceArn()
The ARN of the IAM Identity Center instance under which the operation will be executed.
|
String |
getResourceArn()
The ARN of the resource with the tags to be listed.
|
List<Tag> |
getTags()
A set of key-value pairs that are used to manage the resource.
|
int |
hashCode() |
void |
setInstanceArn(String instanceArn)
The ARN of the IAM Identity Center instance under which the operation will be executed.
|
void |
setResourceArn(String resourceArn)
The ARN of the resource with the tags to be listed.
|
void |
setTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withInstanceArn(String instanceArn)
The ARN of the IAM Identity Center instance under which the operation will be executed.
|
TagResourceRequest |
withResourceArn(String resourceArn)
The ARN of the resource with the tags to be listed.
|
TagResourceRequest |
withTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
|
TagResourceRequest |
withTags(Tag... tags)
A set of key-value pairs that are used to manage the resource.
|
addHandlerContext, 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 setInstanceArn(String instanceArn)
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
instanceArn
- The ARN of the IAM Identity Center instance under which the operation will be executed. For more
information about ARNs, see Amazon Resource
Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General
Reference.public String getInstanceArn()
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public TagResourceRequest withInstanceArn(String instanceArn)
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
instanceArn
- The ARN of the IAM Identity Center instance under which the operation will be executed. For more
information about ARNs, see Amazon Resource
Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General
Reference.public void setResourceArn(String resourceArn)
The ARN of the resource with the tags to be listed.
resourceArn
- The ARN of the resource with the tags to be listed.public String getResourceArn()
The ARN of the resource with the tags to be listed.
public TagResourceRequest withResourceArn(String resourceArn)
The ARN of the resource with the tags to be listed.
resourceArn
- The ARN of the resource with the tags to be listed.public List<Tag> getTags()
A set of key-value pairs that are used to manage the resource.
public void setTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
tags
- A set of key-value pairs that are used to manage the resource.public TagResourceRequest withTags(Tag... tags)
A set of key-value pairs that are used to manage 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
- A set of key-value pairs that are used to manage the resource.public TagResourceRequest withTags(Collection<Tag> tags)
A set of key-value pairs that are used to manage the resource.
tags
- A set of key-value pairs that are used to manage the resource.public String toString()
toString
in class Object
Object.toString()
public TagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()