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 Details

    • 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:
    • 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:
    • 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 the PipelineStatusReason.Builder avoiding the need to create one manually via PipelineStatusReason.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to statusReason(PipelineStatusReason).

      Parameters:
      statusReason - a consumer that will call methods on PipelineStatusReason.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the LogPublishingOptions.Builder avoiding the need to create one manually via LogPublishingOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to logPublishingOptions(LogPublishingOptions).

      Parameters:
      logPublishingOptions - a consumer that will call methods on LogPublishingOptions.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the VpcEndpoint.Builder avoiding the need to create one manually via VpcEndpoint.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcEndpoints(List<VpcEndpoint>).

      Parameters:
      vpcEndpoints - a consumer that will call methods on VpcEndpoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: