Class CfnFunctionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionMixinProps>
- Enclosing interface:
CfnFunctionMixinProps
@Stability(Stable)
public static final class CfnFunctionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionMixinProps>
A builder for
CfnFunctionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitectures(List<String> architectures) Sets the value ofCfnFunctionMixinProps.getArchitectures()assumeRolePolicyDocument(Object assumeRolePolicyDocument) Sets the value ofCfnFunctionMixinProps.getAssumeRolePolicyDocument()autoPublishAlias(String autoPublishAlias) Sets the value ofCfnFunctionMixinProps.getAutoPublishAlias()autoPublishCodeSha256(String autoPublishCodeSha256) Sets the value ofCfnFunctionMixinProps.getAutoPublishCodeSha256()build()Builds the configured instance.codeSigningConfigArn(String codeSigningConfigArn) Sets the value ofCfnFunctionMixinProps.getCodeSigningConfigArn()Sets the value ofCfnFunctionMixinProps.getCodeUri()Sets the value ofCfnFunctionMixinProps.getCodeUri()codeUri(IResolvable codeUri) Sets the value ofCfnFunctionMixinProps.getCodeUri()deadLetterQueue(CfnFunctionPropsMixin.DeadLetterQueueProperty deadLetterQueue) Sets the value ofCfnFunctionMixinProps.getDeadLetterQueue()deadLetterQueue(IResolvable deadLetterQueue) Sets the value ofCfnFunctionMixinProps.getDeadLetterQueue()deploymentPreference(CfnFunctionPropsMixin.DeploymentPreferenceProperty deploymentPreference) Sets the value ofCfnFunctionMixinProps.getDeploymentPreference()deploymentPreference(IResolvable deploymentPreference) Sets the value ofCfnFunctionMixinProps.getDeploymentPreference()description(String description) Sets the value ofCfnFunctionMixinProps.getDescription()Sets the value ofCfnFunctionMixinProps.getEnvironment()environment(IResolvable environment) Sets the value ofCfnFunctionMixinProps.getEnvironment()ephemeralStorage(CfnFunctionPropsMixin.EphemeralStorageProperty ephemeralStorage) Sets the value ofCfnFunctionMixinProps.getEphemeralStorage()ephemeralStorage(IResolvable ephemeralStorage) Sets the value ofCfnFunctionMixinProps.getEphemeralStorage()eventInvokeConfig(CfnFunctionPropsMixin.EventInvokeConfigProperty eventInvokeConfig) Sets the value ofCfnFunctionMixinProps.getEventInvokeConfig()eventInvokeConfig(IResolvable eventInvokeConfig) Sets the value ofCfnFunctionMixinProps.getEventInvokeConfig()Sets the value ofCfnFunctionMixinProps.getEvents()events(IResolvable events) Sets the value ofCfnFunctionMixinProps.getEvents()fileSystemConfigs(List<? extends Object> fileSystemConfigs) Sets the value ofCfnFunctionMixinProps.getFileSystemConfigs()fileSystemConfigs(IResolvable fileSystemConfigs) Sets the value ofCfnFunctionMixinProps.getFileSystemConfigs()functionName(String functionName) Sets the value ofCfnFunctionMixinProps.getFunctionName()functionUrlConfig(CfnFunctionPropsMixin.FunctionUrlConfigProperty functionUrlConfig) Sets the value ofCfnFunctionMixinProps.getFunctionUrlConfig()functionUrlConfig(IResolvable functionUrlConfig) Sets the value ofCfnFunctionMixinProps.getFunctionUrlConfig()Sets the value ofCfnFunctionMixinProps.getHandler()imageConfig(CfnFunctionPropsMixin.ImageConfigProperty imageConfig) Sets the value ofCfnFunctionMixinProps.getImageConfig()imageConfig(IResolvable imageConfig) Sets the value ofCfnFunctionMixinProps.getImageConfig()Sets the value ofCfnFunctionMixinProps.getImageUri()inlineCode(String inlineCode) Sets the value ofCfnFunctionMixinProps.getInlineCode()Sets the value ofCfnFunctionMixinProps.getKmsKeyArn()Sets the value ofCfnFunctionMixinProps.getLayers()memorySize(Number memorySize) Sets the value ofCfnFunctionMixinProps.getMemorySize()packageType(String packageType) Sets the value ofCfnFunctionMixinProps.getPackageType()permissionsBoundary(String permissionsBoundary) Sets the value ofCfnFunctionMixinProps.getPermissionsBoundary()Sets the value ofCfnFunctionMixinProps.getPolicies()Sets the value ofCfnFunctionMixinProps.getPolicies()Sets the value ofCfnFunctionMixinProps.getPolicies()policies(IResolvable policies) Sets the value ofCfnFunctionMixinProps.getPolicies()provisionedConcurrencyConfig(CfnFunctionPropsMixin.ProvisionedConcurrencyConfigProperty provisionedConcurrencyConfig) Sets the value ofCfnFunctionMixinProps.getProvisionedConcurrencyConfig()provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig) Sets the value ofCfnFunctionMixinProps.getProvisionedConcurrencyConfig()reservedConcurrentExecutions(Number reservedConcurrentExecutions) Sets the value ofCfnFunctionMixinProps.getReservedConcurrentExecutions()Sets the value ofCfnFunctionMixinProps.getRole()Sets the value ofCfnFunctionMixinProps.getRuntime()Sets the value ofCfnFunctionMixinProps.getTags()Sets the value ofCfnFunctionMixinProps.getTimeout()Sets the value ofCfnFunctionMixinProps.getTracing()versionDescription(String versionDescription) Sets the value ofCfnFunctionMixinProps.getVersionDescription()vpcConfig(CfnFunctionPropsMixin.VpcConfigProperty vpcConfig) Sets the value ofCfnFunctionMixinProps.getVpcConfig()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnFunctionMixinProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
architectures
Sets the value ofCfnFunctionMixinProps.getArchitectures()- Parameters:
architectures- the value to be set.- Returns:
this
-
assumeRolePolicyDocument
@Stability(Stable) public CfnFunctionMixinProps.Builder assumeRolePolicyDocument(Object assumeRolePolicyDocument) Sets the value ofCfnFunctionMixinProps.getAssumeRolePolicyDocument()- Parameters:
assumeRolePolicyDocument- the value to be set.- Returns:
this
-
autoPublishAlias
Sets the value ofCfnFunctionMixinProps.getAutoPublishAlias()- Parameters:
autoPublishAlias- the value to be set.- Returns:
this
-
autoPublishCodeSha256
@Stability(Stable) public CfnFunctionMixinProps.Builder autoPublishCodeSha256(String autoPublishCodeSha256) Sets the value ofCfnFunctionMixinProps.getAutoPublishCodeSha256()- Parameters:
autoPublishCodeSha256- the value to be set.- Returns:
this
-
codeSigningConfigArn
@Stability(Stable) public CfnFunctionMixinProps.Builder codeSigningConfigArn(String codeSigningConfigArn) Sets the value ofCfnFunctionMixinProps.getCodeSigningConfigArn()- Parameters:
codeSigningConfigArn- the value to be set.- Returns:
this
-
codeUri
Sets the value ofCfnFunctionMixinProps.getCodeUri()- Parameters:
codeUri- the value to be set.- Returns:
this
-
codeUri
Sets the value ofCfnFunctionMixinProps.getCodeUri()- Parameters:
codeUri- the value to be set.- Returns:
this
-
codeUri
@Stability(Stable) public CfnFunctionMixinProps.Builder codeUri(CfnFunctionPropsMixin.S3LocationProperty codeUri) Sets the value ofCfnFunctionMixinProps.getCodeUri()- Parameters:
codeUri- the value to be set.- Returns:
this
-
deadLetterQueue
@Stability(Stable) public CfnFunctionMixinProps.Builder deadLetterQueue(IResolvable deadLetterQueue) Sets the value ofCfnFunctionMixinProps.getDeadLetterQueue()- Parameters:
deadLetterQueue- the value to be set.- Returns:
this
-
deadLetterQueue
@Stability(Stable) public CfnFunctionMixinProps.Builder deadLetterQueue(CfnFunctionPropsMixin.DeadLetterQueueProperty deadLetterQueue) Sets the value ofCfnFunctionMixinProps.getDeadLetterQueue()- Parameters:
deadLetterQueue- the value to be set.- Returns:
this
-
deploymentPreference
@Stability(Stable) public CfnFunctionMixinProps.Builder deploymentPreference(IResolvable deploymentPreference) Sets the value ofCfnFunctionMixinProps.getDeploymentPreference()- Parameters:
deploymentPreference- the value to be set.- Returns:
this
-
deploymentPreference
@Stability(Stable) public CfnFunctionMixinProps.Builder deploymentPreference(CfnFunctionPropsMixin.DeploymentPreferenceProperty deploymentPreference) Sets the value ofCfnFunctionMixinProps.getDeploymentPreference()- Parameters:
deploymentPreference- the value to be set.- Returns:
this
-
description
Sets the value ofCfnFunctionMixinProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
environment
Sets the value ofCfnFunctionMixinProps.getEnvironment()- Parameters:
environment- the value to be set.- Returns:
this
-
environment
@Stability(Stable) public CfnFunctionMixinProps.Builder environment(CfnFunctionPropsMixin.FunctionEnvironmentProperty environment) Sets the value ofCfnFunctionMixinProps.getEnvironment()- Parameters:
environment- the value to be set.- Returns:
this
-
ephemeralStorage
@Stability(Stable) public CfnFunctionMixinProps.Builder ephemeralStorage(IResolvable ephemeralStorage) Sets the value ofCfnFunctionMixinProps.getEphemeralStorage()- Parameters:
ephemeralStorage- the value to be set.- Returns:
this
-
ephemeralStorage
@Stability(Stable) public CfnFunctionMixinProps.Builder ephemeralStorage(CfnFunctionPropsMixin.EphemeralStorageProperty ephemeralStorage) Sets the value ofCfnFunctionMixinProps.getEphemeralStorage()- Parameters:
ephemeralStorage- the value to be set.- Returns:
this
-
eventInvokeConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder eventInvokeConfig(IResolvable eventInvokeConfig) Sets the value ofCfnFunctionMixinProps.getEventInvokeConfig()- Parameters:
eventInvokeConfig- the value to be set.- Returns:
this
-
eventInvokeConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder eventInvokeConfig(CfnFunctionPropsMixin.EventInvokeConfigProperty eventInvokeConfig) Sets the value ofCfnFunctionMixinProps.getEventInvokeConfig()- Parameters:
eventInvokeConfig- the value to be set.- Returns:
this
-
events
Sets the value ofCfnFunctionMixinProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
events
Sets the value ofCfnFunctionMixinProps.getEvents()- Parameters:
events- the value to be set.- Returns:
this
-
fileSystemConfigs
@Stability(Stable) public CfnFunctionMixinProps.Builder fileSystemConfigs(IResolvable fileSystemConfigs) Sets the value ofCfnFunctionMixinProps.getFileSystemConfigs()- Parameters:
fileSystemConfigs- the value to be set.- Returns:
this
-
fileSystemConfigs
@Stability(Stable) public CfnFunctionMixinProps.Builder fileSystemConfigs(List<? extends Object> fileSystemConfigs) Sets the value ofCfnFunctionMixinProps.getFileSystemConfigs()- Parameters:
fileSystemConfigs- the value to be set.- Returns:
this
-
functionName
Sets the value ofCfnFunctionMixinProps.getFunctionName()- Parameters:
functionName- the value to be set.- Returns:
this
-
functionUrlConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder functionUrlConfig(IResolvable functionUrlConfig) Sets the value ofCfnFunctionMixinProps.getFunctionUrlConfig()- Parameters:
functionUrlConfig- the value to be set.- Returns:
this
-
functionUrlConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder functionUrlConfig(CfnFunctionPropsMixin.FunctionUrlConfigProperty functionUrlConfig) Sets the value ofCfnFunctionMixinProps.getFunctionUrlConfig()- Parameters:
functionUrlConfig- the value to be set.- Returns:
this
-
handler
Sets the value ofCfnFunctionMixinProps.getHandler()- Parameters:
handler- the value to be set.- Returns:
this
-
imageConfig
Sets the value ofCfnFunctionMixinProps.getImageConfig()- Parameters:
imageConfig- the value to be set.- Returns:
this
-
imageConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder imageConfig(CfnFunctionPropsMixin.ImageConfigProperty imageConfig) Sets the value ofCfnFunctionMixinProps.getImageConfig()- Parameters:
imageConfig- the value to be set.- Returns:
this
-
imageUri
Sets the value ofCfnFunctionMixinProps.getImageUri()- Parameters:
imageUri- the value to be set.- Returns:
this
-
inlineCode
Sets the value ofCfnFunctionMixinProps.getInlineCode()- Parameters:
inlineCode- the value to be set.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnFunctionMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- the value to be set.- Returns:
this
-
layers
Sets the value ofCfnFunctionMixinProps.getLayers()- Parameters:
layers- the value to be set.- Returns:
this
-
memorySize
Sets the value ofCfnFunctionMixinProps.getMemorySize()- Parameters:
memorySize- the value to be set.- Returns:
this
-
packageType
Sets the value ofCfnFunctionMixinProps.getPackageType()- Parameters:
packageType- the value to be set.- Returns:
this
-
permissionsBoundary
@Stability(Stable) public CfnFunctionMixinProps.Builder permissionsBoundary(String permissionsBoundary) Sets the value ofCfnFunctionMixinProps.getPermissionsBoundary()- Parameters:
permissionsBoundary- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnFunctionMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnFunctionMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
@Stability(Stable) public CfnFunctionMixinProps.Builder policies(CfnFunctionPropsMixin.IAMPolicyDocumentProperty policies) Sets the value ofCfnFunctionMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
policies
Sets the value ofCfnFunctionMixinProps.getPolicies()- Parameters:
policies- the value to be set.- Returns:
this
-
provisionedConcurrencyConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder provisionedConcurrencyConfig(IResolvable provisionedConcurrencyConfig) Sets the value ofCfnFunctionMixinProps.getProvisionedConcurrencyConfig()- Parameters:
provisionedConcurrencyConfig- the value to be set.- Returns:
this
-
provisionedConcurrencyConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder provisionedConcurrencyConfig(CfnFunctionPropsMixin.ProvisionedConcurrencyConfigProperty provisionedConcurrencyConfig) Sets the value ofCfnFunctionMixinProps.getProvisionedConcurrencyConfig()- Parameters:
provisionedConcurrencyConfig- the value to be set.- Returns:
this
-
reservedConcurrentExecutions
@Stability(Stable) public CfnFunctionMixinProps.Builder reservedConcurrentExecutions(Number reservedConcurrentExecutions) Sets the value ofCfnFunctionMixinProps.getReservedConcurrentExecutions()- Parameters:
reservedConcurrentExecutions- the value to be set.- Returns:
this
-
role
Sets the value ofCfnFunctionMixinProps.getRole()- Parameters:
role- the value to be set.- Returns:
this
-
runtime
Sets the value ofCfnFunctionMixinProps.getRuntime()- Parameters:
runtime- the value to be set.- Returns:
this
-
tags
Sets the value ofCfnFunctionMixinProps.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
timeout
Sets the value ofCfnFunctionMixinProps.getTimeout()- Parameters:
timeout- the value to be set.- Returns:
this
-
tracing
Sets the value ofCfnFunctionMixinProps.getTracing()- Parameters:
tracing- the value to be set.- Returns:
this
-
versionDescription
@Stability(Stable) public CfnFunctionMixinProps.Builder versionDescription(String versionDescription) Sets the value ofCfnFunctionMixinProps.getVersionDescription()- Parameters:
versionDescription- the value to be set.- Returns:
this
-
vpcConfig
Sets the value ofCfnFunctionMixinProps.getVpcConfig()- Parameters:
vpcConfig- the value to be set.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnFunctionMixinProps.Builder vpcConfig(CfnFunctionPropsMixin.VpcConfigProperty vpcConfig) Sets the value ofCfnFunctionMixinProps.getVpcConfig()- Parameters:
vpcConfig- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionMixinProps>- Returns:
- a new instance of
CfnFunctionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-