Class CfnRuntimePropsMixin.CodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnRuntimePropsMixin.CodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRuntimePropsMixin.CodeConfigurationProperty>
- Enclosing interface:
CfnRuntimePropsMixin.CodeConfigurationProperty
@Stability(Stable)
public static final class CfnRuntimePropsMixin.CodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRuntimePropsMixin.CodeConfigurationProperty>
A builder for
CfnRuntimePropsMixin.CodeConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getCode()code(IResolvable code) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getCode()entryPoint(List<String> entryPoint) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getEntryPoint()Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getRuntime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
@Stability(Stable) public CfnRuntimePropsMixin.CodeConfigurationProperty.Builder code(IResolvable code) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getCode()- Parameters:
code- Object represents source code from zip file.- Returns:
this
-
code
@Stability(Stable) public CfnRuntimePropsMixin.CodeConfigurationProperty.Builder code(CfnRuntimePropsMixin.CodeProperty code) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getCode()- Parameters:
code- Object represents source code from zip file.- Returns:
this
-
entryPoint
@Stability(Stable) public CfnRuntimePropsMixin.CodeConfigurationProperty.Builder entryPoint(List<String> entryPoint) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getEntryPoint()- Parameters:
entryPoint- List of entry points.- Returns:
this
-
runtime
@Stability(Stable) public CfnRuntimePropsMixin.CodeConfigurationProperty.Builder runtime(String runtime) Sets the value ofCfnRuntimePropsMixin.CodeConfigurationProperty.getRuntime()- Parameters:
runtime- Managed runtime types.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRuntimePropsMixin.CodeConfigurationProperty>- Returns:
- a new instance of
CfnRuntimePropsMixin.CodeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-