Class S3ControlBucketResource
java.lang.Object
software.amazon.awssdk.services.s3control.S3ControlBucketResource
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA builder forS3ControlBucketResourceobjects.
- 
Method SummaryModifier and TypeMethodDescriptionGets the AWS account ID associated with this bucket.Gets the name of the bucket.builder()Get a new builder for this class.booleaninthashCode()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.ObjectgetClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.s3.internal.resource.S3ResourceoverrideSigner
- 
Method Details- 
builderGet a new builder for this class.- Returns:
- A newly initialized instance of a builder.
 
- 
typeGets the resource type for this bucket.- Specified by:
- typein interface- S3Resource
- Returns:
- This will always return "bucket_name".
 
- 
partitionGets the AWS partition name associated with this bucket (e.g.: 'aws').- Specified by:
- partitionin interface- AwsResource
- Returns:
- the name of the partition.
 
- 
regionGets the AWS region name associated with this bucket (e.g.: 'us-east-1').- Specified by:
- regionin interface- AwsResource
- Returns:
- the name of the region or null if the region has not been specified (e.g. the resource is in the global namespace).
 
- 
accountIdGets the AWS account ID associated with this bucket.- Specified by:
- accountIdin interface- AwsResource
- Returns:
- the AWS account ID or null if the account ID has not been specified.
 
- 
bucketName
- 
parentS3ResourceGets the optional parent s3 resource- Specified by:
- parentS3Resourcein interface- S3Resource
- Returns:
- the parent s3 resource if exists, otherwise null
 
- 
equals
- 
hashCode
 
-