Class CfnInputProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnInputProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInputProps>
- Enclosing interface:
CfnInputProps
@Stability(Stable)
public static final class CfnInputProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInputProps>
A builder for
CfnInputProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inputDefinition(IResolvable inputDefinition) Sets the value ofCfnInputProps.getInputDefinition()inputDefinition(CfnInput.InputDefinitionProperty inputDefinition) Sets the value ofCfnInputProps.getInputDefinition()inputDescription(String inputDescription) Sets the value ofCfnInputProps.getInputDescription()Sets the value ofCfnInputProps.getInputName()Sets the value ofCfnInputProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inputDefinition
Sets the value ofCfnInputProps.getInputDefinition()- Parameters:
inputDefinition- The definition of the input. This parameter is required.- Returns:
this
-
inputDefinition
@Stability(Stable) public CfnInputProps.Builder inputDefinition(CfnInput.InputDefinitionProperty inputDefinition) Sets the value ofCfnInputProps.getInputDefinition()- Parameters:
inputDefinition- The definition of the input. This parameter is required.- Returns:
this
-
inputDescription
Sets the value ofCfnInputProps.getInputDescription()- Parameters:
inputDescription- A brief description of the input.- Returns:
this
-
inputName
Sets the value ofCfnInputProps.getInputName()- Parameters:
inputName- The name of the input.- Returns:
this
-
tags
Sets the value ofCfnInputProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInputProps>- Returns:
- a new instance of
CfnInputProps - Throws:
NullPointerException- if any required attribute was not provided
-