Class CfnInput.Builder

java.lang.Object
software.amazon.awscdk.services.iotevents.CfnInput.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInput>
Enclosing class:
CfnInput

@Stability(Stable) public static final class CfnInput.Builder extends Object implements software.amazon.jsii.Builder<CfnInput>
A fluent builder for CfnInput.
  • Method Details

    • create

      @Stability(Stable) public static CfnInput.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnInput.Builder.
    • inputDefinition

      @Stability(Stable) public CfnInput.Builder inputDefinition(IResolvable inputDefinition)
      The definition of the input.

      Parameters:
      inputDefinition - The definition of the input. This parameter is required.
      Returns:
      this
    • inputDefinition

      @Stability(Stable) public CfnInput.Builder inputDefinition(CfnInput.InputDefinitionProperty inputDefinition)
      The definition of the input.

      Parameters:
      inputDefinition - The definition of the input. This parameter is required.
      Returns:
      this
    • inputDescription

      @Stability(Stable) public CfnInput.Builder inputDescription(String inputDescription)
      A brief description of the input.

      Parameters:
      inputDescription - A brief description of the input. This parameter is required.
      Returns:
      this
    • inputName

      @Stability(Stable) public CfnInput.Builder inputName(String inputName)
      The name of the input.

      Parameters:
      inputName - The name of the input. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnInput.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnInput build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnInput>
      Returns:
      a newly built instance of CfnInput.