Class AWSLambdaDestinationBuilder
java.lang.Object
com.commercetools.api.models.extension.AWSLambdaDestinationBuilder
- All Implemented Interfaces:
Builder<AWSLambdaDestination>
- Direct Known Subclasses:
ExtensionAWSLambdaDestinationBuilder
AWSLambdaDestinationBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AWSLambdaDestination aWSLambdaDestination = AWSLambdaDestination.builder()
.arn("{arn}")
.accessKey("{accessKey}")
.accessSecret("{accessSecret}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPartially hidden on retrieval for security reasons.accessSecret
(String accessSecret) Partially hidden on retrieval for security reasons.Amazon Resource Name (ARN) of the Lambda function in the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>
.build()
builds AWSLambdaDestination with checking for non-null required valuesbuilds AWSLambdaDestination without checking for non-null required valuesPartially hidden on retrieval for security reasons.Partially hidden on retrieval for security reasons.getArn()
Amazon Resource Name (ARN) of the Lambda function in the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>
.static AWSLambdaDestinationBuilder
of()
factory method for an instance of AWSLambdaDestinationBuilderstatic AWSLambdaDestinationBuilder
of
(AWSLambdaDestination template) create builder for AWSLambdaDestination instance
-
Constructor Details
-
AWSLambdaDestinationBuilder
public AWSLambdaDestinationBuilder()
-
-
Method Details
-
arn
Amazon Resource Name (ARN) of the Lambda function in the format
arn:aws:lambda:<region>:<accountid>:function:<functionName>
. Use the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version>
to point to a specific version of the function.- Parameters:
arn
- value to be set- Returns:
- Builder
-
accessKey
Partially hidden on retrieval for security reasons.
- Parameters:
accessKey
- value to be set- Returns:
- Builder
-
accessSecret
Partially hidden on retrieval for security reasons.
- Parameters:
accessSecret
- value to be set- Returns:
- Builder
-
getArn
Amazon Resource Name (ARN) of the Lambda function in the format
arn:aws:lambda:<region>:<accountid>:function:<functionName>
. Use the formatarn:aws:lambda:<region>:<accountid>:function:<functionName>:<functionAlias/version>
to point to a specific version of the function.- Returns:
- arn
-
getAccessKey
Partially hidden on retrieval for security reasons.
- Returns:
- accessKey
-
getAccessSecret
Partially hidden on retrieval for security reasons.
- Returns:
- accessSecret
-
build
builds AWSLambdaDestination with checking for non-null required values- Specified by:
build
in interfaceBuilder<AWSLambdaDestination>
- Returns:
- AWSLambdaDestination
-
buildUnchecked
builds AWSLambdaDestination without checking for non-null required values- Returns:
- AWSLambdaDestination
-
of
factory method for an instance of AWSLambdaDestinationBuilder- Returns:
- builder
-
of
create builder for AWSLambdaDestination instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-