Interface Pipeline.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Pipeline.Builder,Pipeline>,SdkBuilder<Pipeline.Builder,Pipeline>,SdkPojo
- Enclosing class:
- Pipeline
public static interface Pipeline.Builder extends SdkPojo, CopyableBuilder<Pipeline.Builder,Pipeline>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Pipeline.BuildercreatedAt(Instant createdAt)The date and time when the pipeline was created.Pipeline.BuilderingestEndpointUrls(String... ingestEndpointUrls)The ingestion endpoints for the pipeline, which you can send data to.Pipeline.BuilderingestEndpointUrls(Collection<String> ingestEndpointUrls)The ingestion endpoints for the pipeline, which you can send data to.Pipeline.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the pipeline was last updated.default Pipeline.BuilderlogPublishingOptions(Consumer<LogPublishingOptions.Builder> logPublishingOptions)Key-value pairs that represent log publishing settings.Pipeline.BuilderlogPublishingOptions(LogPublishingOptions logPublishingOptions)Key-value pairs that represent log publishing settings.Pipeline.BuildermaxUnits(Integer maxUnits)The maximum pipeline capacity, in Ingestion Compute Units (ICUs).Pipeline.BuilderminUnits(Integer minUnits)The minimum pipeline capacity, in Ingestion Compute Units (ICUs).Pipeline.BuilderpipelineArn(String pipelineArn)The Amazon Resource Name (ARN) of the pipeline.Pipeline.BuilderpipelineConfigurationBody(String pipelineConfigurationBody)The Data Prepper pipeline configuration in YAML format.Pipeline.BuilderpipelineName(String pipelineName)The name of the pipeline.Pipeline.Builderstatus(String status)The current status of the pipeline.Pipeline.Builderstatus(PipelineStatus status)The current status of the pipeline.default Pipeline.BuilderstatusReason(Consumer<PipelineStatusReason.Builder> statusReason)The reason for the current status of the pipeline.Pipeline.BuilderstatusReason(PipelineStatusReason statusReason)The reason for the current status of the pipeline.Pipeline.BuildervpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)The VPC interface endpoints that have access to the pipeline.Pipeline.BuildervpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)The VPC interface endpoints that have access to the pipeline.Pipeline.BuildervpcEndpoints(VpcEndpoint... vpcEndpoints)The VPC interface endpoints that have access to the pipeline.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
pipelineName
Pipeline.Builder pipelineName(String pipelineName)
The name of the pipeline.
- Parameters:
pipelineName- The name of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipelineArn
Pipeline.Builder pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
- Parameters:
pipelineArn- The Amazon Resource Name (ARN) of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minUnits
Pipeline.Builder minUnits(Integer minUnits)
The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
- Parameters:
minUnits- The minimum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxUnits
Pipeline.Builder maxUnits(Integer maxUnits)
The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
- Parameters:
maxUnits- The maximum pipeline capacity, in Ingestion Compute Units (ICUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Pipeline.Builder status(String status)
The current status of the pipeline.
- Parameters:
status- The current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus,PipelineStatus
-
status
Pipeline.Builder status(PipelineStatus status)
The current status of the pipeline.
- Parameters:
status- The current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PipelineStatus,PipelineStatus
-
statusReason
Pipeline.Builder statusReason(PipelineStatusReason statusReason)
The reason for the current status of the pipeline.
- Parameters:
statusReason- The reason for the current status of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
default Pipeline.Builder statusReason(Consumer<PipelineStatusReason.Builder> statusReason)
The reason for the current status of the pipeline.
This is a convenience method that creates an instance of thePipelineStatusReason.Builderavoiding the need to create one manually viaPipelineStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(PipelineStatusReason).- Parameters:
statusReason- a consumer that will call methods onPipelineStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statusReason(PipelineStatusReason)
-
pipelineConfigurationBody
Pipeline.Builder pipelineConfigurationBody(String pipelineConfigurationBody)
The Data Prepper pipeline configuration in YAML format.
- Parameters:
pipelineConfigurationBody- The Data Prepper pipeline configuration in YAML format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Pipeline.Builder createdAt(Instant createdAt)
The date and time when the pipeline was created.
- Parameters:
createdAt- The date and time when the pipeline was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Pipeline.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the pipeline was last updated.
- Parameters:
lastUpdatedAt- The date and time when the pipeline was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestEndpointUrls
Pipeline.Builder ingestEndpointUrls(Collection<String> ingestEndpointUrls)
The ingestion endpoints for the pipeline, which you can send data to.
- Parameters:
ingestEndpointUrls- The ingestion endpoints for the pipeline, which you can send data to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ingestEndpointUrls
Pipeline.Builder ingestEndpointUrls(String... ingestEndpointUrls)
The ingestion endpoints for the pipeline, which you can send data to.
- Parameters:
ingestEndpointUrls- The ingestion endpoints for the pipeline, which you can send data to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
Pipeline.Builder logPublishingOptions(LogPublishingOptions logPublishingOptions)
Key-value pairs that represent log publishing settings.
- Parameters:
logPublishingOptions- Key-value pairs that represent log publishing settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logPublishingOptions
default Pipeline.Builder logPublishingOptions(Consumer<LogPublishingOptions.Builder> logPublishingOptions)
Key-value pairs that represent log publishing settings.
This is a convenience method that creates an instance of theLogPublishingOptions.Builderavoiding the need to create one manually viaLogPublishingOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologPublishingOptions(LogPublishingOptions).- Parameters:
logPublishingOptions- a consumer that will call methods onLogPublishingOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
logPublishingOptions(LogPublishingOptions)
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
- Parameters:
vpcEndpoints- The VPC interface endpoints that have access to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
- Parameters:
vpcEndpoints- The VPC interface endpoints that have access to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Pipeline.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
The VPC interface endpoints that have access to the pipeline.
This is a convenience method that creates an instance of theVpcEndpoint.Builderavoiding the need to create one manually viaVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcEndpoints(List.) - Parameters:
vpcEndpoints- a consumer that will call methods onVpcEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#vpcEndpoints(java.util.Collection)
-
-