@Generated(value="software.amazon.awssdk:codegen") public final class ListAccessPointsRequest extends S3ControlRequest implements ToCopyableBuilder<ListAccessPointsRequest.Builder,ListAccessPointsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListAccessPointsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
|
String |
bucket()
The name of the bucket whose associated access points you want to list.
|
static ListAccessPointsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of access points that you want to include in the list.
|
String |
nextToken()
A continuation token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListAccessPointsRequest.Builder> |
serializableBuilderClass() |
ListAccessPointsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID for owner of the bucket whose access points you want to list.
public final 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.
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 final 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.
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 final 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.
NextToken field that you can use to retrieve the next page of access points.public ListAccessPointsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListAccessPointsRequest.Builder,ListAccessPointsRequest>toBuilder in class S3ControlRequestpublic static ListAccessPointsRequest.Builder builder()
public static Class<? extends ListAccessPointsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.