Class S3ControlBucketResource
java.lang.Object
software.amazon.awssdk.services.s3control.S3ControlBucketResource
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A builder forS3ControlBucketResource
objects. -
Method Summary
Modifier and TypeMethodDescriptionGets the AWS account ID associated with this bucket.Gets the name of the bucket.builder()
Get a new builder for this class.boolean
int
hashCode()
Gets the optional parent s3 resourceGets the AWS partition name associated with this bucket (e.g.: 'aws').region()
Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').type()
Gets the resource type for this bucket.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.services.s3.internal.resource.S3Resource
overrideSigner
-
Method Details
-
builder
Get a new builder for this class.- Returns:
- A newly initialized instance of a builder.
-
type
Gets the resource type for this bucket.- Specified by:
type
in interfaceS3Resource
- Returns:
- This will always return "bucket_name".
-
partition
Gets the AWS partition name associated with this bucket (e.g.: 'aws').- Specified by:
partition
in interfaceAwsResource
- Returns:
- the name of the partition.
-
region
Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').- Specified by:
region
in interfaceAwsResource
- Returns:
- the name of the region or null if the region has not been specified (e.g. the resource is in the global namespace).
-
accountId
Gets the AWS account ID associated with this bucket.- Specified by:
accountId
in interfaceAwsResource
- Returns:
- the AWS account ID or null if the account ID has not been specified.
-
bucketName
-
parentS3Resource
Gets the optional parent s3 resource- Specified by:
parentS3Resource
in interfaceS3Resource
- Returns:
- the parent s3 resource if exists, otherwise null
-
equals
-
hashCode
-