Interface Ingestion.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Ingestion.Builder,Ingestion>, SdkBuilder<Ingestion.Builder,Ingestion>, SdkPojo
Enclosing class:
Ingestion

public static interface Ingestion.Builder extends SdkPojo, CopyableBuilder<Ingestion.Builder,Ingestion>
  • Method Details

    • arn

      The Amazon Resource Name (ARN) of the resource.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionId

      Ingestion.Builder ingestionId(String ingestionId)

      Ingestion ID.

      Parameters:
      ingestionId - Ingestion ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionStatus

      Ingestion.Builder ingestionStatus(String ingestionStatus)

      Ingestion status.

      Parameters:
      ingestionStatus - Ingestion status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ingestionStatus

      Ingestion.Builder ingestionStatus(IngestionStatus ingestionStatus)

      Ingestion status.

      Parameters:
      ingestionStatus - Ingestion status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorInfo

      Ingestion.Builder errorInfo(ErrorInfo errorInfo)

      Error information for this ingestion.

      Parameters:
      errorInfo - Error information for this ingestion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      default Ingestion.Builder errorInfo(Consumer<ErrorInfo.Builder> errorInfo)

      Error information for this ingestion.

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

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

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

      Ingestion.Builder rowInfo(RowInfo rowInfo)
      Sets the value of the RowInfo property for this object.
      Parameters:
      rowInfo - The new value for the RowInfo property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rowInfo

      default Ingestion.Builder rowInfo(Consumer<RowInfo.Builder> rowInfo)
      Sets the value of the RowInfo property for this object. This is a convenience method that creates an instance of the RowInfo.Builder avoiding the need to create one manually via RowInfo.builder().

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

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

      Ingestion.Builder queueInfo(QueueInfo queueInfo)
      Sets the value of the QueueInfo property for this object.
      Parameters:
      queueInfo - The new value for the QueueInfo property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queueInfo

      default Ingestion.Builder queueInfo(Consumer<QueueInfo.Builder> queueInfo)
      Sets the value of the QueueInfo property for this object. This is a convenience method that creates an instance of the QueueInfo.Builder avoiding the need to create one manually via QueueInfo.builder().

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

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

      Ingestion.Builder createdTime(Instant createdTime)

      The time that this ingestion started.

      Parameters:
      createdTime - The time that this ingestion started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionTimeInSeconds

      Ingestion.Builder ingestionTimeInSeconds(Long ingestionTimeInSeconds)

      The time that this ingestion took, measured in seconds.

      Parameters:
      ingestionTimeInSeconds - The time that this ingestion took, measured in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionSizeInBytes

      Ingestion.Builder ingestionSizeInBytes(Long ingestionSizeInBytes)

      The size of the data ingested, in bytes.

      Parameters:
      ingestionSizeInBytes - The size of the data ingested, in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestSource

      Ingestion.Builder requestSource(String requestSource)

      Event source for this ingestion.

      Parameters:
      requestSource - Event source for this ingestion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestSource

      Ingestion.Builder requestSource(IngestionRequestSource requestSource)

      Event source for this ingestion.

      Parameters:
      requestSource - Event source for this ingestion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestType

      Ingestion.Builder requestType(String requestType)

      Type of this ingestion.

      Parameters:
      requestType - Type of this ingestion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestType

      Ingestion.Builder requestType(IngestionRequestType requestType)

      Type of this ingestion.

      Parameters:
      requestType - Type of this ingestion.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: