Class S3AccessPointResource
java.lang.Object
software.amazon.awssdk.services.s3.internal.resource.S3AccessPointResource
- All Implemented Interfaces:
AwsResource
,S3Resource
,ToCopyableBuilder<S3AccessPointResource.Builder,
S3AccessPointResource>
public final class S3AccessPointResource
extends Object
implements S3Resource, ToCopyableBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
An
S3Resource
that represents an S3 access point.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets the name of the access point.Gets the AWS account ID associated with this bucket.builder()
Get a new builder for this class.boolean
int
hashCode()
Gets the optional parent resource.Gets 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').Take this object and create a builder that contains all of the current property values of this object.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.utils.builder.ToCopyableBuilder
copy
-
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 "access_point".
-
parentS3Resource
Description copied from interface:S3Resource
Gets the optional parent resource.- Specified by:
parentS3Resource
in interfaceS3Resource
- Returns:
- the optional parent resource.
-
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.
-
accessPointName
Gets the name of the access point.- Returns:
- the name of the access point.
-
overrideSigner
- Specified by:
overrideSigner
in interfaceS3Resource
-
equals
-
hashCode
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3AccessPointResource.Builder,
S3AccessPointResource> - Returns:
- a builder for type T
-