Interface S3Resource
-
- All Superinterfaces:
AwsResource
- All Known Implementing Classes:
S3AccessPointResource
,S3BucketResource
,S3ObjectLambdaResource
,S3ObjectResource
,S3OutpostResource
public interface S3Resource extends AwsResource
A representation of an AWS S3 resource. SeeS3ResourceType
for a list and description of all valid types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Optional<Signer>
overrideSigner()
default Optional<S3Resource>
parentS3Resource()
Gets the optional parent resource.String
type()
Gets the type of S3 resource represented by this object (e.g.: 'bucket_name').-
Methods inherited from interface software.amazon.awssdk.services.s3.internal.resource.AwsResource
accountId, partition, region
-
-
-
-
Method Detail
-
type
String type()
Gets the type of S3 resource represented by this object (e.g.: 'bucket_name'). SeeS3ResourceType
for a list and description of all valid types.- Returns:
- the string name of the S3 resource type.
-
parentS3Resource
default Optional<S3Resource> parentS3Resource()
Gets the optional parent resource.- Returns:
- the optional parent resource.
-
-