@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTagsForResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListTagsForResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListTagsForResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The ARN of the resource that you want to view tags for.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The ARN of the resource that you want to view tags for.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withResourceArn(String resourceArn)
The ARN of the resource that you want to view tags for.
|
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, withSdkRequestTimeoutpublic void setResourceArn(String resourceArn)
The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links or sinks
you must have the oam:RequestTag permission. The aws:ReguestTag permission does not
allow you to tag and untag links and sinks.
resourceArn - The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links
or sinks you must have the oam:RequestTag permission. The aws:ReguestTag
permission does not allow you to tag and untag links and sinks.
public String getResourceArn()
The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links or sinks
you must have the oam:RequestTag permission. The aws:ReguestTag permission does not
allow you to tag and untag links and sinks.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links
or sinks you must have the oam:RequestTag permission. The aws:ReguestTag
permission does not allow you to tag and untag links and sinks.
public ListTagsForResourceRequest withResourceArn(String resourceArn)
The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links or sinks
you must have the oam:RequestTag permission. The aws:ReguestTag permission does not
allow you to tag and untag links and sinks.
resourceArn - The ARN of the resource that you want to view tags for.
The ARN format of a sink is arn:aws:oam:Region:account-id:sink/sink-id
The ARN format of a link is arn:aws:oam:Region:account-id:link/link-id
For more information about ARN format, see CloudWatch Logs resources and operations.
Unlike tagging permissions in other Amazon Web Services services, to retrieve the list of tags for links
or sinks you must have the oam:RequestTag permission. The aws:ReguestTag
permission does not allow you to tag and untag links and sinks.
public String toString()
toString in class ObjectObject.toString()public ListTagsForResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.