Class FunctionParameterProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.FunctionParameterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FunctionParameterProps>
- Enclosing interface:
FunctionParameterProps
@Stability(Experimental)
public static final class FunctionParameterProps.Builder
extends Object
implements software.amazon.jsii.Builder<FunctionParameterProps>
A builder for
FunctionParameterProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofFunctionParameterProps.getDescription()Sets the value ofFunctionParameterProps.getRequired()type(ParameterType type) Sets the value ofFunctionParameterProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofFunctionParameterProps.getType()- Parameters:
type- The type of the parameter. This parameter is required.- Returns:
this
-
description
Sets the value ofFunctionParameterProps.getDescription()- Parameters:
description- Description of the parameter.- Returns:
this
-
required
Sets the value ofFunctionParameterProps.getRequired()- Parameters:
required- Whether the parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FunctionParameterProps>- Returns:
- a new instance of
FunctionParameterProps - Throws:
NullPointerException- if any required attribute was not provided
-