Class CfnPipe.Builder

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

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

    • create

      @Stability(Stable) public static CfnPipe.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 CfnPipe.Builder.
    • roleArn

      @Stability(Stable) public CfnPipe.Builder roleArn(String roleArn)
      The ARN of the role that allows the pipe to send data to the target.

      Parameters:
      roleArn - The ARN of the role that allows the pipe to send data to the target. This parameter is required.
      Returns:
      this
    • source

      @Stability(Stable) public CfnPipe.Builder source(String source)
      The ARN of the source resource.

      Parameters:
      source - The ARN of the source resource. This parameter is required.
      Returns:
      this
    • target

      @Stability(Stable) public CfnPipe.Builder target(String target)
      The ARN of the target resource.

      Parameters:
      target - The ARN of the target resource. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnPipe.Builder description(String description)
      A description of the pipe.

      Parameters:
      description - A description of the pipe. This parameter is required.
      Returns:
      this
    • desiredState

      @Stability(Stable) public CfnPipe.Builder desiredState(String desiredState)
      The state the pipe should be in.

      Parameters:
      desiredState - The state the pipe should be in. This parameter is required.
      Returns:
      this
    • enrichment

      @Stability(Stable) public CfnPipe.Builder enrichment(String enrichment)
      The ARN of the enrichment resource.

      Parameters:
      enrichment - The ARN of the enrichment resource. This parameter is required.
      Returns:
      this
    • enrichmentParameters

      @Stability(Stable) public CfnPipe.Builder enrichmentParameters(CfnPipe.PipeEnrichmentParametersProperty enrichmentParameters)
      The parameters required to set up enrichment on your pipe.

      Parameters:
      enrichmentParameters - The parameters required to set up enrichment on your pipe. This parameter is required.
      Returns:
      this
    • enrichmentParameters

      @Stability(Stable) public CfnPipe.Builder enrichmentParameters(IResolvable enrichmentParameters)
      The parameters required to set up enrichment on your pipe.

      Parameters:
      enrichmentParameters - The parameters required to set up enrichment on your pipe. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnPipe.Builder name(String name)
      The name of the pipe.

      Parameters:
      name - The name of the pipe. This parameter is required.
      Returns:
      this
    • sourceParameters

      @Stability(Stable) public CfnPipe.Builder sourceParameters(IResolvable sourceParameters)
      The parameters required to set up a source for your pipe.

      Parameters:
      sourceParameters - The parameters required to set up a source for your pipe. This parameter is required.
      Returns:
      this
    • sourceParameters

      @Stability(Stable) public CfnPipe.Builder sourceParameters(CfnPipe.PipeSourceParametersProperty sourceParameters)
      The parameters required to set up a source for your pipe.

      Parameters:
      sourceParameters - The parameters required to set up a source for your pipe. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPipe.Builder tags(Map<String,String> tags)
      The list of key-value pairs to associate with the pipe.

      Parameters:
      tags - The list of key-value pairs to associate with the pipe. This parameter is required.
      Returns:
      this
    • targetParameters

      @Stability(Stable) public CfnPipe.Builder targetParameters(IResolvable targetParameters)
      The parameters required to set up a target for your pipe.

      For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide .

      Parameters:
      targetParameters - The parameters required to set up a target for your pipe. This parameter is required.
      Returns:
      this
    • targetParameters

      @Stability(Stable) public CfnPipe.Builder targetParameters(CfnPipe.PipeTargetParametersProperty targetParameters)
      The parameters required to set up a target for your pipe.

      For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide .

      Parameters:
      targetParameters - The parameters required to set up a target for your pipe. This parameter is required.
      Returns:
      this
    • build

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