Class S3AccessPointResource
java.lang.Object
software.amazon.awssdk.services.s3.internal.resource.S3AccessPointResource
- All Implemented Interfaces:
AwsResource,S3Resource,ToCopyableBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
@SdkInternalApi
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.booleaninthashCode()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').type()Gets the resource type for this access point.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:
typein interfaceS3Resource- Returns:
- This will always return "access_point".
-
parentS3Resource
Description copied from interface:S3ResourceGets the optional parent resource.- Specified by:
parentS3Resourcein interfaceS3Resource- Returns:
- the optional parent resource.
-
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
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
Gets the AWS account ID associated with this bucket.- Specified by:
accountIdin interfaceAwsResource- Returns:
- the AWS account ID.
-
accessPointName
Gets the name of the access point.- Returns:
- the name of the access point.
-
overrideSigner
- Specified by:
overrideSignerin interfaceS3Resource
-
equals
-
hashCode
public int hashCode() -
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3AccessPointResource.Builder,S3AccessPointResource>
-