@Generated(value="io.sphere.sdk.annotations.processors.generators.HasBuilderGenerator", comments="Generated from: io.sphere.sdk.extensions.AWSLambdaDestination") public final class AWSLambdaDestinationBuilder extends Base implements Builder<AWSLambdaDestination>
AWSLambdaDestination.| Modifier and Type | Method and Description |
|---|---|
AWSLambdaDestinationBuilder |
arn(String arn)
Sets the
arn property of this builder. |
AWSLambdaDestinationBuilder |
awsCredentials(AwsCredentials awsCredentials)
Sets the
awsCredentials property of this builder. |
AWSLambdaDestination |
build()
Creates a new instance of
AWSLambdaDestination with the values of this builder. |
static AWSLambdaDestinationBuilder |
of(AWSLambdaDestination template)
Creates a new object initialized with the fields of the template parameter.
|
static AWSLambdaDestinationBuilder |
of(String arn,
AwsCredentials awsCredentials)
Creates a new object initialized with the given values.
|
public AWSLambdaDestinationBuilder arn(String arn)
arn property of this builder.arn - the value for AWSLambdaDestination.getArn()public AWSLambdaDestinationBuilder awsCredentials(AwsCredentials awsCredentials)
awsCredentials property of this builder.awsCredentials - the value for AWSLambdaDestination.getAwsCredentials()public AWSLambdaDestination build()
AWSLambdaDestination with the values of this builder.build in interface Builder<AWSLambdaDestination>public static AWSLambdaDestinationBuilder of(String arn, AwsCredentials awsCredentials)
arn - initial value for the AWSLambdaDestination.getArn() propertyawsCredentials - initial value for the AWSLambdaDestination.getAwsCredentials() propertypublic static AWSLambdaDestinationBuilder of(AWSLambdaDestination template)
template - the template