Class S3AccessPointResource.Builder
java.lang.Object
software.amazon.awssdk.services.s3.internal.resource.S3AccessPointResource.Builder
- All Implemented Interfaces:
Buildable,CopyableBuilder<S3AccessPointResource.Builder,,S3AccessPointResource> SdkBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
- Enclosing class:
S3AccessPointResource
public static final class S3AccessPointResource.Builder
extends Object
implements CopyableBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
A builder for
S3AccessPointResource objects.-
Method Summary
Modifier and TypeMethodDescriptionaccessPointName(String accessPointName) The name of the S3 access point.The AWS account ID associated with the access point.build()Builds an instance ofS3AccessPointResource.parentS3Resource(S3Resource parentS3Resource) The S3 resource this access point is associated with (contained within).The AWS partition associated with the access point.The AWS region associated with the access point.voidsetAccessPointName(String accessPointName) voidsetAccountId(String accountId) voidsetPartition(String partition) voidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
setPartition
-
partition
The AWS partition associated with the access point. -
setRegion
-
region
The AWS region associated with the access point. -
setAccountId
-
accountId
The AWS account ID associated with the access point. -
setAccessPointName
-
accessPointName
The name of the S3 access point. -
parentS3Resource
The S3 resource this access point is associated with (contained within). OnlyS3OutpostResourceis a valid parent resource types. -
build
Builds an instance ofS3AccessPointResource.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<S3AccessPointResource.Builder,S3AccessPointResource> - Returns:
- an instance of T
-