Class S3OutpostResource
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.resource.S3OutpostResource
-
- All Implemented Interfaces:
AwsResource,S3Resource
public final class S3OutpostResource extends Object implements S3Resource
AnS3Resourcethat represents an S3 outpost resource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS3OutpostResource.BuilderA builder forS3OutpostResourceobjects.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<String>accountId()Gets the AWS account ID associated with this bucket.static S3OutpostResource.Builderbuilder()Get a new builder for this class.booleanequals(Object o)inthashCode()StringoutpostId()Gets the outpost IDOptional<String>partition()Gets the AWS partition name associated with this access point (e.g.: 'aws').Optional<String>region()Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').Stringtype()Gets the resource type for this access point.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.s3.internal.resource.S3Resource
overrideSigner, parentS3Resource
-
-
-
-
Method Detail
-
builder
public static S3OutpostResource.Builder builder()
Get a new builder for this class.- Returns:
- A newly initialized instance of a builder.
-
type
public String type()
Gets the resource type for this access point.- Specified by:
typein interfaceS3Resource- Returns:
- This will always return "accesspoint".
-
partition
public Optional<String> partition()
Gets the AWS partition name associated with this access point (e.g.: 'aws').- Specified by:
partitionin interfaceAwsResource- Returns:
- the name of the partition.
-
region
public Optional<String> region()
Gets the AWS region name associated with this bucket (e.g.: 'us-east-1').- Specified by:
regionin interfaceAwsResource- Returns:
- the name of the region.
-
accountId
public Optional<String> accountId()
Gets the AWS account ID associated with this bucket.- Specified by:
accountIdin interfaceAwsResource- Returns:
- the AWS account ID.
-
outpostId
public String outpostId()
Gets the outpost ID- Returns:
- the outpost ID.
-
-