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 forS3AccessPointResource
objects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3AccessPointResource.Builder
accessPointName(String accessPointName)
The name of the S3 access point.S3AccessPointResource.Builder
accountId(String accountId)
The AWS account ID associated with the access point.S3AccessPointResource
build()
Builds an instance ofS3AccessPointResource
.S3AccessPointResource.Builder
parentS3Resource(S3Resource parentS3Resource)
The S3 resource this access point is associated with (contained within).S3AccessPointResource.Builder
partition(String partition)
The AWS partition associated with the access point.S3AccessPointResource.Builder
region(String region)
The AWS region associated with the access point.void
setAccessPointName(String accessPointName)
void
setAccountId(String accountId)
void
setPartition(String partition)
void
setRegion(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). OnlyS3OutpostResource
is a valid parent resource types.
-
build
public S3AccessPointResource build()
Builds an instance ofS3AccessPointResource
.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
-
-