Class S3OutpostResource
java.lang.Object
software.amazon.awssdk.services.s3.internal.resource.S3OutpostResource
- All Implemented Interfaces:
AwsResource
,S3Resource
An
S3Resource
that represents an S3 outpost resource-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the AWS account ID associated with this bucket.static S3OutpostResource.Builder
builder()
Get a new builder for this class.boolean
int
hashCode()
Gets the outpost IDGets the AWS partition name associated with this access point (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 access point.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, parentS3Resource
-
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 access point.- Specified by:
type
in interfaceS3Resource
- Returns:
- This will always return "accesspoint".
-
partition
Gets the AWS partition name associated with this access point (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.
-
accountId
Gets the AWS account ID associated with this bucket.- Specified by:
accountId
in interfaceAwsResource
- Returns:
- the AWS account ID.
-
outpostId
Gets the outpost ID- Returns:
- the outpost ID.
-
equals
-
hashCode
public int hashCode()
-