public final class S3ControlBucketResource extends Object implements S3Resource
S3Resource that represents an bucket.| Modifier and Type | Class and Description |
|---|---|
static class |
S3ControlBucketResource.Builder
A builder for
S3ControlBucketResource objects. |
| Modifier and Type | Method and Description |
|---|---|
static S3ControlBucketResource.Builder |
builder()
Get a new builder for this class.
|
boolean |
equals(Object o) |
String |
getAccountId()
Gets the AWS account ID associated with this bucket.
|
String |
getBucketName()
Gets the name of the bucket.
|
S3Resource |
getParentS3Resource()
Gets the optional parent s3 resource
|
String |
getPartition()
Gets the AWS partition name associated with this bucket (e.g.: 'aws').
|
String |
getRegion()
Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').
|
String |
getType()
Gets the resource type for this bucket.
|
int |
hashCode() |
public static S3ControlBucketResource.Builder builder()
public String getType()
getType in interface S3Resourcepublic String getPartition()
getPartition in interface AwsResourcepublic String getRegion()
getRegion in interface AwsResourcepublic String getAccountId()
getAccountId in interface AwsResourcepublic String getBucketName()
public S3Resource getParentS3Resource()
getParentS3Resource in interface S3Resource