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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPipe.Builder
description
(String description) A description of the pipe.desiredState
(String desiredState) The state the pipe should be in.enrichment
(String enrichment) The ARN of the enrichment resource.enrichmentParameters
(IResolvable enrichmentParameters) The parameters required to set up enrichment on your pipe.enrichmentParameters
(CfnPipe.PipeEnrichmentParametersProperty enrichmentParameters) The parameters required to set up enrichment on your pipe.logConfiguration
(IResolvable logConfiguration) The logging configuration settings for the pipe.logConfiguration
(CfnPipe.PipeLogConfigurationProperty logConfiguration) The logging configuration settings for the pipe.The name of the pipe.The ARN of the role that allows the pipe to send data to the target.The ARN of the source resource.sourceParameters
(IResolvable sourceParameters) The parameters required to set up a source for your pipe.sourceParameters
(CfnPipe.PipeSourceParametersProperty sourceParameters) The parameters required to set up a source for your pipe.The list of key-value pairs to associate with the pipe.The ARN of the target resource.targetParameters
(IResolvable targetParameters) The parameters required to set up a target for your pipe.targetParameters
(CfnPipe.PipeTargetParametersProperty targetParameters) The parameters required to set up a target for your pipe.
-
Method Details
-
create
@Stability(Stable) public static CfnPipe.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPipe.Builder
.
-
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
- See Also:
-
source
The ARN of the source resource.- Parameters:
source
- The ARN of the source resource. This parameter is required.- Returns:
this
- See Also:
-
target
The ARN of the target resource.- Parameters:
target
- The ARN of the target resource. This parameter is required.- Returns:
this
- See Also:
-
description
A description of the pipe.- Parameters:
description
- A description of the pipe. This parameter is required.- Returns:
this
- See Also:
-
desiredState
The state the pipe should be in.- Parameters:
desiredState
- The state the pipe should be in. This parameter is required.- Returns:
this
- See Also:
-
enrichment
The ARN of the enrichment resource.- Parameters:
enrichment
- The ARN of the enrichment resource. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
logConfiguration
The logging configuration settings for the pipe.- Parameters:
logConfiguration
- The logging configuration settings for the pipe. This parameter is required.- Returns:
this
- See Also:
-
logConfiguration
@Stability(Stable) public CfnPipe.Builder logConfiguration(CfnPipe.PipeLogConfigurationProperty logConfiguration) The logging configuration settings for the pipe.- Parameters:
logConfiguration
- The logging configuration settings for the pipe. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the pipe.- Parameters:
name
- The name of the pipe. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
-