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.void
setAccessPointName
(String accessPointName) void
setAccountId
(String accountId) void
setPartition
(String partition) void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods 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). OnlyS3OutpostResource
is a valid parent resource types. -
build
Builds an instance ofS3AccessPointResource
.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<S3AccessPointResource.Builder,
S3AccessPointResource> - Returns:
- an instance of T
-