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