Class S3ObjectLambdaResource
- java.lang.Object
-
- software.amazon.awssdk.services.s3.internal.resource.S3ObjectLambdaResource
-
- All Implemented Interfaces:
AwsResource,S3Resource,ToCopyableBuilder<S3ObjectLambdaResource.Builder,S3ObjectLambdaResource>
@SdkInternalApi public final class S3ObjectLambdaResource extends Object implements S3Resource, ToCopyableBuilder<S3ObjectLambdaResource.Builder,S3ObjectLambdaResource>
AnS3Resourcethat represents an S3 Object Lambda resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS3ObjectLambdaResource.BuilderA builder forS3ObjectLambdaResourceobjects.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccessPointName()Gets the name of the access point.Optional<String>accountId()Gets the AWS account ID associated with this bucket.static S3ObjectLambdaResource.Builderbuilder()Get a new builder for this class.booleanequals(Object o)inthashCode()Optional<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').S3ObjectLambdaResource.BuildertoBuilder()Stringtype()Gets the resource type for this object lambda.-
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
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static S3ObjectLambdaResource.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 object lambda.- Specified by:
typein interfaceS3Resource- Returns:
- This will always return "object_lambda".
-
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.
-
accessPointName
public String accessPointName()
Gets the name of the access point.- Returns:
- the name of the access point.
-
toBuilder
public S3ObjectLambdaResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3ObjectLambdaResource.Builder,S3ObjectLambdaResource>
-
-