public static final class S3ControlBucketResource.Builder extends Object
S3ControlBucketResource
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
S3ControlBucketResource |
build()
Builds an instance of
S3ControlBucketResource . |
void |
setAccountId(String accountId) |
void |
setBucketName(String bucketName) |
void |
setPartition(String partition) |
void |
setRegion(String region) |
S3ControlBucketResource.Builder |
withAccountId(String accountId)
The AWS account ID associated with the bucket.
|
S3ControlBucketResource.Builder |
withBucketName(String bucketName)
The name of the S3 bucket.
|
S3ControlBucketResource.Builder |
withParentS3Resource(S3Resource parentS3Resource)
The S3 resource this access point is associated with (contained within).
|
S3ControlBucketResource.Builder |
withPartition(String partition)
The AWS partition associated with the bucket.
|
S3ControlBucketResource.Builder |
withRegion(String region)
The AWS region associated with the bucket.
|
public void setPartition(String partition)
public S3ControlBucketResource.Builder withPartition(String partition)
public void setRegion(String region)
public S3ControlBucketResource.Builder withRegion(String region)
public void setAccountId(String accountId)
public S3ControlBucketResource.Builder withAccountId(String accountId)
public void setBucketName(String bucketName)
public S3ControlBucketResource.Builder withBucketName(String bucketName)
public S3ControlBucketResource.Builder withParentS3Resource(S3Resource parentS3Resource)
S3OutpostResource
and
is a valid parent resource types.public S3ControlBucketResource build()
S3ControlBucketResource
.