Class CfnComponentType.FunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iottwinmaker.CfnComponentType.FunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentType.FunctionProperty>
- Enclosing interface:
CfnComponentType.FunctionProperty
@Stability(Stable)
public static final class CfnComponentType.FunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentType.FunctionProperty>
A builder for
CfnComponentType.FunctionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.implementedBy
(IResolvable implementedBy) Sets the value ofCfnComponentType.FunctionProperty.getImplementedBy()
implementedBy
(CfnComponentType.DataConnectorProperty implementedBy) Sets the value ofCfnComponentType.FunctionProperty.getImplementedBy()
requiredProperties
(List<String> requiredProperties) Sets the value ofCfnComponentType.FunctionProperty.getRequiredProperties()
Sets the value ofCfnComponentType.FunctionProperty.getScope()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
implementedBy
@Stability(Stable) public CfnComponentType.FunctionProperty.Builder implementedBy(IResolvable implementedBy) Sets the value ofCfnComponentType.FunctionProperty.getImplementedBy()
- Parameters:
implementedBy
- The data connector.- Returns:
this
-
implementedBy
@Stability(Stable) public CfnComponentType.FunctionProperty.Builder implementedBy(CfnComponentType.DataConnectorProperty implementedBy) Sets the value ofCfnComponentType.FunctionProperty.getImplementedBy()
- Parameters:
implementedBy
- The data connector.- Returns:
this
-
requiredProperties
@Stability(Stable) public CfnComponentType.FunctionProperty.Builder requiredProperties(List<String> requiredProperties) Sets the value ofCfnComponentType.FunctionProperty.getRequiredProperties()
- Parameters:
requiredProperties
- The required properties of the function.- Returns:
this
-
scope
Sets the value ofCfnComponentType.FunctionProperty.getScope()
- Parameters:
scope
- The scope of the function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponentType.FunctionProperty>
- Returns:
- a new instance of
CfnComponentType.FunctionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-