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 forS3AccessPointResourceobjects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3AccessPointResource.BuilderaccessPointName(String accessPointName)The name of the S3 access point.S3AccessPointResource.BuilderaccountId(String accountId)The AWS account ID associated with the access point.S3AccessPointResourcebuild()Builds an instance ofS3AccessPointResource.S3AccessPointResource.BuilderparentS3Resource(S3Resource parentS3Resource)The S3 resource this access point is associated with (contained within).S3AccessPointResource.Builderpartition(String partition)The AWS partition associated with the access point.S3AccessPointResource.Builderregion(String region)The AWS region associated with the access point.voidsetAccessPointName(String accessPointName)voidsetAccountId(String accountId)voidsetPartition(String partition)voidsetRegion(String region)-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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 Detail
-
setPartition
public void setPartition(String partition)
-
partition
public S3AccessPointResource.Builder partition(String partition)
The AWS partition associated with the access point.
-
setRegion
public void setRegion(String region)
-
region
public S3AccessPointResource.Builder region(String region)
The AWS region associated with the access point.
-
setAccountId
public void setAccountId(String accountId)
-
accountId
public S3AccessPointResource.Builder accountId(String accountId)
The AWS account ID associated with the access point.
-
setAccessPointName
public void setAccessPointName(String accessPointName)
-
accessPointName
public S3AccessPointResource.Builder accessPointName(String accessPointName)
The name of the S3 access point.
-
parentS3Resource
public S3AccessPointResource.Builder parentS3Resource(S3Resource parentS3Resource)
The S3 resource this access point is associated with (contained within). OnlyS3OutpostResourceis a valid parent resource types.
-
build
public S3AccessPointResource build()
Builds an instance ofS3AccessPointResource.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
-
-