Interface ReadPipelineResponse.Builder

    • Method Detail

      • pipeline

        ReadPipelineResponse.Builder pipeline​(Pipeline pipeline)

        A section of the response body that provides information about the pipeline.

        Parameters:
        pipeline - A section of the response body that provides information about the pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • warnings

        ReadPipelineResponse.Builder warnings​(Collection<Warning> warnings)

        Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

        Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

        Parameters:
        warnings - Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

        Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • warnings

        ReadPipelineResponse.Builder warnings​(Warning... warnings)

        Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

        Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

        Parameters:
        warnings - Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

        Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • warnings

        ReadPipelineResponse.Builder warnings​(Consumer<Warning.Builder>... warnings)

        Elastic Transcoder returns a warning if the resources used by your pipeline are not in the same region as the pipeline.

        Using resources in the same region, such as your Amazon S3 buckets, Amazon SNS notification topics, and AWS KMS key, reduces processing time and prevents cross-regional charges.

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

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

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