Interface CreatePipeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePipeRequest.Builder,
,CreatePipeRequest> PipesRequest.Builder
,SdkBuilder<CreatePipeRequest.Builder,
,CreatePipeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePipeRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the pipe.desiredState
(String desiredState) The state the pipe should be in.desiredState
(RequestedPipeState desiredState) The state the pipe should be in.enrichment
(String enrichment) The ARN of the enrichment resource.default CreatePipeRequest.Builder
enrichmentParameters
(Consumer<PipeEnrichmentParameters.Builder> enrichmentParameters) The parameters required to set up enrichment on your pipe.enrichmentParameters
(PipeEnrichmentParameters enrichmentParameters) The parameters required to set up enrichment on your pipe.kmsKeyIdentifier
(String kmsKeyIdentifier) The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data.default CreatePipeRequest.Builder
logConfiguration
(Consumer<PipeLogConfigurationParameters.Builder> logConfiguration) The logging configuration settings for the pipe.logConfiguration
(PipeLogConfigurationParameters logConfiguration) The logging configuration settings for the pipe.The name of the pipe.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the role that allows the pipe to send data to the target.The ARN of the source resource.default CreatePipeRequest.Builder
sourceParameters
(Consumer<PipeSourceParameters.Builder> sourceParameters) The parameters required to set up a source for your pipe.sourceParameters
(PipeSourceParameters 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.default CreatePipeRequest.Builder
targetParameters
(Consumer<PipeTargetParameters.Builder> targetParameters) The parameters required to set up a target for your pipe.targetParameters
(PipeTargetParameters targetParameters) The parameters required to set up a target for your pipe.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pipes.model.PipesRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the pipe.
- Parameters:
name
- The name of the pipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the pipe.
- Parameters:
description
- A description of the pipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredState
The state the pipe should be in.
- Parameters:
desiredState
- The state the pipe should be in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
desiredState
The state the pipe should be in.
- Parameters:
desiredState
- The state the pipe should be in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The ARN of the source resource.
- Parameters:
source
- The ARN of the source resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceParameters
default CreatePipeRequest.Builder sourceParameters(Consumer<PipeSourceParameters.Builder> sourceParameters) The parameters required to set up a source for your pipe.
This is a convenience method that creates an instance of thePipeSourceParameters.Builder
avoiding the need to create one manually viaPipeSourceParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceParameters(PipeSourceParameters)
.- Parameters:
sourceParameters
- a consumer that will call methods onPipeSourceParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enrichment
The ARN of the enrichment resource.
- Parameters:
enrichment
- The ARN of the enrichment resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrichmentParameters
The parameters required to set up enrichment on your pipe.
- Parameters:
enrichmentParameters
- The parameters required to set up enrichment on your pipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrichmentParameters
default CreatePipeRequest.Builder enrichmentParameters(Consumer<PipeEnrichmentParameters.Builder> enrichmentParameters) The parameters required to set up enrichment on your pipe.
This is a convenience method that creates an instance of thePipeEnrichmentParameters.Builder
avoiding the need to create one manually viaPipeEnrichmentParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenrichmentParameters(PipeEnrichmentParameters)
.- Parameters:
enrichmentParameters
- a consumer that will call methods onPipeEnrichmentParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
The ARN of the target resource.
- Parameters:
target
- The ARN of the target resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.For more information about pipe target parameters, including how to use dynamic path parameters, see Target parameters in the Amazon EventBridge User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetParameters
default CreatePipeRequest.Builder targetParameters(Consumer<PipeTargetParameters.Builder> 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.
This is a convenience method that creates an instance of thePipeTargetParameters.Builder
avoiding the need to create one manually viaPipeTargetParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetParameters(PipeTargetParameters)
.- Parameters:
targetParameters
- a consumer that will call methods onPipeTargetParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
The logging configuration settings for the pipe.
- Parameters:
logConfiguration
- The logging configuration settings for the pipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default CreatePipeRequest.Builder logConfiguration(Consumer<PipeLogConfigurationParameters.Builder> logConfiguration) The logging configuration settings for the pipe.
This is a convenience method that creates an instance of thePipeLogConfigurationParameters.Builder
avoiding the need to create one manually viaPipeLogConfigurationParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(PipeLogConfigurationParameters)
.- Parameters:
logConfiguration
- a consumer that will call methods onPipeLogConfigurationParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyIdentifier
The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.
If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt pipe data.
For more information, see Managing keys in the Key Management Service Developer Guide.
- Parameters:
kmsKeyIdentifier
- The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt pipe data. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt pipe data.
For more information, see Managing keys in the Key Management Service Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePipeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePipeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-