Class S3ControlBucketResource.Builder
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.S3ControlBucketResource.Builder
-
- Enclosing class:
- S3ControlBucketResource
public static final class S3ControlBucketResource.Builder extends Object
A builder forS3ControlBucketResourceobjects.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3ControlBucketResource.BuilderaccountId(String accountId)The AWS account ID associated with the bucket.S3ControlBucketResource.BuilderbucketName(String bucketName)The name of the S3 bucket.S3ControlBucketResourcebuild()Builds an instance ofS3ControlBucketResource.S3ControlBucketResource.BuilderparentS3Resource(S3Resource parentS3Resource)The S3 resource this access point is associated with (contained within).S3ControlBucketResource.Builderpartition(String partition)The AWS partition associated with the bucket.S3ControlBucketResource.Builderregion(String region)The AWS region associated with the bucket.voidsetRegion(String region)
-
-
-
Method Detail
-
partition
public S3ControlBucketResource.Builder partition(String partition)
The AWS partition associated with the bucket.
-
setRegion
public void setRegion(String region)
-
region
public S3ControlBucketResource.Builder region(String region)
The AWS region associated with the bucket. This property is optional.
-
accountId
public S3ControlBucketResource.Builder accountId(String accountId)
The AWS account ID associated with the bucket. This property is optional.
-
bucketName
public S3ControlBucketResource.Builder bucketName(String bucketName)
The name of the S3 bucket.
-
parentS3Resource
public S3ControlBucketResource.Builder parentS3Resource(S3Resource parentS3Resource)
The S3 resource this access point is associated with (contained within). OnlyS3OutpostResourceand is a valid parent resource types.
-
build
public S3ControlBucketResource build()
Builds an instance ofS3ControlBucketResource.
-
-