Interface Pipeline.Builder

    • 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
      • 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.
      • 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.
      • 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).

        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:
        #vpcEndpoints(java.util.Collection)
      • bufferOptions

        Pipeline.Builder bufferOptions​(BufferOptions bufferOptions)
        Sets the value of the BufferOptions property for this object.
        Parameters:
        bufferOptions - The new value for the BufferOptions property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionAtRestOptions

        Pipeline.Builder encryptionAtRestOptions​(EncryptionAtRestOptions encryptionAtRestOptions)
        Sets the value of the EncryptionAtRestOptions property for this object.
        Parameters:
        encryptionAtRestOptions - The new value for the EncryptionAtRestOptions property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcEndpointService

        Pipeline.Builder vpcEndpointService​(String vpcEndpointService)

        The VPC endpoint service name for the pipeline.

        Parameters:
        vpcEndpointService - The VPC endpoint service name for the pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceVpcEndpoints

        Pipeline.Builder serviceVpcEndpoints​(Collection<ServiceVpcEndpoint> serviceVpcEndpoints)

        A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.

        Parameters:
        serviceVpcEndpoints - A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceVpcEndpoints

        Pipeline.Builder serviceVpcEndpoints​(ServiceVpcEndpoint... serviceVpcEndpoints)

        A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.

        Parameters:
        serviceVpcEndpoints - A list of VPC endpoints that OpenSearch Ingestion has created to other Amazon Web Services services.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        Pipeline.Builder destinations​(Collection<PipelineDestination> destinations)

        Destinations to which the pipeline writes data.

        Parameters:
        destinations - Destinations to which the pipeline writes data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinations

        Pipeline.Builder destinations​(PipelineDestination... destinations)

        Destinations to which the pipeline writes data.

        Parameters:
        destinations - Destinations to which the pipeline writes data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Pipeline.Builder tags​(Collection<Tag> tags)

        A list of tags associated with the given pipeline.

        Parameters:
        tags - A list of tags associated with the given pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Pipeline.Builder tags​(Tag... tags)

        A list of tags associated with the given pipeline.

        Parameters:
        tags - A list of tags associated with the given pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Pipeline.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags associated with the given pipeline.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)