public class ListTagsForResourceRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the tags for the specified resource.
For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.
Constructor and Description |
---|
ListTagsForResourceRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource.
|
int |
hashCode() |
void |
setResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForResourceRequest |
withResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getResourceArn()
The Amazon Resource Name (ARN) of the resource.
The Amazon Resource Name (ARN) of the resource.
public void setResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the resource.
resourceArn
- The Amazon Resource Name (ARN) of the resource.
public ListTagsForResourceRequest withResourceArn(java.lang.String resourceArn)
The Amazon Resource Name (ARN) of the resource.
Returns a reference to this object so that method calls can be chained together.
resourceArn
- The Amazon Resource Name (ARN) of the resource.
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.