@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAccessPointsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListAccessPointsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListAccessPointsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
|
String |
getBucket()
The name of the bucket whose associated access points you want to list.
|
Integer |
getMaxResults()
The maximum number of access points that you want to include in the list.
|
String |
getNextToken()
A continuation token.
|
int |
hashCode() |
void |
setAccountId(String accountId)
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
|
void |
setBucket(String bucket)
The name of the bucket whose associated access points you want to list.
|
void |
setMaxResults(Integer maxResults)
The maximum number of access points that you want to include in the list.
|
void |
setNextToken(String nextToken)
A continuation token.
|
String |
toString()
Returns a string representation of this object.
|
ListAccessPointsRequest |
withAccountId(String accountId)
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
|
ListAccessPointsRequest |
withBucket(String bucket)
The name of the bucket whose associated access points you want to list.
|
ListAccessPointsRequest |
withMaxResults(Integer maxResults)
The maximum number of access points that you want to include in the list.
|
ListAccessPointsRequest |
withNextToken(String nextToken)
A continuation token.
|
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 setAccountId(String accountId)
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
accountId - The Amazon Web Services account ID for owner of the bucket whose access points you want to list.public String getAccountId()
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
public ListAccessPointsRequest withAccountId(String accountId)
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
accountId - The Amazon Web Services account ID for owner of the bucket whose access points you want to list.public void setBucket(String bucket)
The name of the bucket whose associated access points you want to list.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by account
123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL
encoded.
bucket - The name of the bucket whose associated access points you want to list.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by
account 123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must
be URL encoded.
public String getBucket()
The name of the bucket whose associated access points you want to list.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by account
123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL
encoded.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by
account 123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must
be URL encoded.
public ListAccessPointsRequest withBucket(String bucket)
The name of the bucket whose associated access points you want to list.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify the ARN
of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by account
123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must be URL
encoded.
bucket - The name of the bucket whose associated access points you want to list.
For using this parameter with Amazon S3 on Outposts with the REST API, you must specify the name and the x-amz-outpost-id as well.
For using this parameter with S3 on Outposts with the Amazon Web Services SDK and CLI, you must specify
the ARN of the bucket accessed in the format
arn:aws:s3-outposts:<Region>:<account-id>:outpost/<outpost-id>/bucket/<my-bucket-name>
. For example, to access the bucket reports through outpost my-outpost owned by
account 123456789012 in Region us-west-2, use the URL encoding of
arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/bucket/reports. The value must
be URL encoded.
public void setNextToken(String nextToken)
A continuation token. If a previous call to ListAccessPoints returned a continuation token in the
NextToken field, then providing that value here causes Amazon S3 to retrieve the next page of
results.
nextToken - A continuation token. If a previous call to ListAccessPoints returned a continuation token in
the NextToken field, then providing that value here causes Amazon S3 to retrieve the next
page of results.public String getNextToken()
A continuation token. If a previous call to ListAccessPoints returned a continuation token in the
NextToken field, then providing that value here causes Amazon S3 to retrieve the next page of
results.
ListAccessPoints returned a continuation token
in the NextToken field, then providing that value here causes Amazon S3 to retrieve the next
page of results.public ListAccessPointsRequest withNextToken(String nextToken)
A continuation token. If a previous call to ListAccessPoints returned a continuation token in the
NextToken field, then providing that value here causes Amazon S3 to retrieve the next page of
results.
nextToken - A continuation token. If a previous call to ListAccessPoints returned a continuation token in
the NextToken field, then providing that value here causes Amazon S3 to retrieve the next
page of results.public void setMaxResults(Integer maxResults)
The maximum number of access points that you want to include in the list. If the specified bucket has more than
this number of access points, then the response will include a continuation token in the NextToken
field that you can use to retrieve the next page of access points.
maxResults - The maximum number of access points that you want to include in the list. If the specified bucket has more
than this number of access points, then the response will include a continuation token in the
NextToken field that you can use to retrieve the next page of access points.public Integer getMaxResults()
The maximum number of access points that you want to include in the list. If the specified bucket has more than
this number of access points, then the response will include a continuation token in the NextToken
field that you can use to retrieve the next page of access points.
NextToken field that you can use to retrieve the next page of access points.public ListAccessPointsRequest withMaxResults(Integer maxResults)
The maximum number of access points that you want to include in the list. If the specified bucket has more than
this number of access points, then the response will include a continuation token in the NextToken
field that you can use to retrieve the next page of access points.
maxResults - The maximum number of access points that you want to include in the list. If the specified bucket has more
than this number of access points, then the response will include a continuation token in the
NextToken field that you can use to retrieve the next page of access points.public String toString()
toString in class ObjectObject.toString()public ListAccessPointsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.