public static final class S3BucketResource.Builder extends Object
S3BucketResource
objects.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
S3BucketResource |
build()
Builds an instance of
S3BucketResource . |
void |
setAccountId(String accountId) |
void |
setBucketName(String bucketName) |
void |
setPartition(String partition) |
void |
setRegion(String region) |
S3BucketResource.Builder |
withAccountId(String accountId)
The Amazon Web Services account ID associated with the bucket.
|
S3BucketResource.Builder |
withBucketName(String bucketName)
The name of the S3 bucket.
|
S3BucketResource.Builder |
withPartition(String partition)
The Amazon Web Services partition associated with the bucket.
|
S3BucketResource.Builder |
withRegion(String region)
The Amazon Web Services region associated with the bucket.
|
public void setPartition(String partition)
public S3BucketResource.Builder withPartition(String partition)
public void setRegion(String region)
public S3BucketResource.Builder withRegion(String region)
public void setAccountId(String accountId)
public S3BucketResource.Builder withAccountId(String accountId)
public void setBucketName(String bucketName)
public S3BucketResource.Builder withBucketName(String bucketName)
public S3BucketResource build()
S3BucketResource
.