@Generated(value="software.amazon.awssdk:codegen") public final class CreateAccessPointRequest extends S3ControlRequest implements ToCopyableBuilder<CreateAccessPointRequest.Builder,CreateAccessPointRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAccessPointRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
|
String |
bucket()
The name of the bucket that you want to associate this access point with.
|
static CreateAccessPointRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name you want to assign to this access point.
|
PublicAccessBlockConfiguration |
publicAccessBlockConfiguration()
The
PublicAccessBlock configuration that you want to apply to the access point. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAccessPointRequest.Builder> |
serializableBuilderClass() |
CreateAccessPointRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VpcConfiguration |
vpcConfiguration()
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual
private cloud (VPC).
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID for the owner of the bucket for which you want to create an access point.
public final String name()
The name you want to assign to this access point.
public final String bucket()
The name of the bucket that you want to associate this access point with.
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 VpcConfiguration vpcConfiguration()
If you include this field, Amazon S3 restricts access to this access point to requests from the specified virtual private cloud (VPC).
This is required for creating an access point for Amazon S3 on Outposts buckets.
This is required for creating an access point for Amazon S3 on Outposts buckets.
public final PublicAccessBlockConfiguration publicAccessBlockConfiguration()
The PublicAccessBlock configuration that you want to apply to the access point.
PublicAccessBlock configuration that you want to apply to the access point.public CreateAccessPointRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAccessPointRequest.Builder,CreateAccessPointRequest>toBuilder in class S3ControlRequestpublic static CreateAccessPointRequest.Builder builder()
public static Class<? extends CreateAccessPointRequest.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.