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 |
|---|---|
Optional<String> |
accountId()
Gets the AWS account ID associated with this bucket.
|
String |
bucketName()
Gets the name of the bucket.
|
static S3ControlBucketResource.Builder |
builder()
Get a new builder for this class.
|
boolean |
equals(Object o) |
int |
hashCode() |
Optional<S3Resource> |
parentS3Resource()
Gets the optional parent s3 resource
|
Optional<String> |
partition()
Gets the AWS partition name associated with this bucket (e.g.: 'aws').
|
Optional<String> |
region()
Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').
|
String |
type()
Gets the resource type for this bucket.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitoverrideSignerpublic static S3ControlBucketResource.Builder builder()
public String type()
type in interface S3Resourcepublic Optional<String> partition()
partition in interface AwsResourcepublic Optional<String> region()
region in interface AwsResourcepublic Optional<String> accountId()
accountId in interface AwsResourcepublic String bucketName()
public Optional<S3Resource> parentS3Resource()
parentS3Resource in interface S3ResourceCopyright © 2023. All rights reserved.