@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the resource owner.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the resource owner.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for.
|
String |
toString()
Returns a string representation of this object.
|
ListTagsForResourceRequest |
withAccountId(String accountId)
The Amazon Web Services account ID of the resource owner.
|
ListTagsForResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for.
|
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 setAccountId(String accountId)
The Amazon Web Services account ID of the resource owner.
accountId
- The Amazon Web Services account ID of the resource owner.public String getAccountId()
The Amazon Web Services account ID of the resource owner.
public ListTagsForResourceRequest withAccountId(String accountId)
The Amazon Web Services account ID of the resource owner.
accountId
- The Amazon Web Services account ID of the resource owner.public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
resourceArn
- The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource
can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.public String getResourceArn()
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
public ListTagsForResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
resourceArn
- The Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for. The tagged resource
can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.public String toString()
toString
in class Object
Object.toString()
public ListTagsForResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()