@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 AWS 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()
Returns the value of the PublicAccessBlockConfiguration property for this object.
|
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 String accountId()
The AWS account ID for the owner of the bucket for which you want to create an access point.
public String name()
The name you want to assign to this access point.
public String bucket()
The name of the bucket that you want to associate this access point with.
public VpcConfiguration vpcConfiguration()
If you include this field, Amazon S3 restricts access to this access point to requests from the specified Virtual Private Cloud (VPC).
public PublicAccessBlockConfiguration publicAccessBlockConfiguration()
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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.