Class FunctionDefinitionVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.FunctionDefinitionVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FunctionDefinitionVersionReference>
- Enclosing interface:
FunctionDefinitionVersionReference
@Stability(Stable)
public static final class FunctionDefinitionVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<FunctionDefinitionVersionReference>
A builder for
FunctionDefinitionVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.functionDefinitionVersionId
(String functionDefinitionVersionId) Sets the value ofFunctionDefinitionVersionReference.getFunctionDefinitionVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
functionDefinitionVersionId
@Stability(Stable) public FunctionDefinitionVersionReference.Builder functionDefinitionVersionId(String functionDefinitionVersionId) Sets the value ofFunctionDefinitionVersionReference.getFunctionDefinitionVersionId()
- Parameters:
functionDefinitionVersionId
- The Id of the FunctionDefinitionVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FunctionDefinitionVersionReference>
- Returns:
- a new instance of
FunctionDefinitionVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-