Interface IngestionDestination.Builder

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

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

    • arn

      The Amazon Resource Name (ARN) of the ingestion destination.

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

      IngestionDestination.Builder ingestionArn(String ingestionArn)

      The Amazon Resource Name (ARN) of the ingestion.

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

      IngestionDestination.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)

      Contains information about how ingested data is processed.

      Parameters:
      processingConfiguration - Contains information about how ingested data is processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processingConfiguration

      default IngestionDestination.Builder processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration)

      Contains information about how ingested data is processed.

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

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

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

      IngestionDestination.Builder destinationConfiguration(DestinationConfiguration destinationConfiguration)

      Contains information about the destination of ingested data.

      Parameters:
      destinationConfiguration - Contains information about the destination of ingested data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationConfiguration

      default IngestionDestination.Builder destinationConfiguration(Consumer<DestinationConfiguration.Builder> destinationConfiguration)

      Contains information about the destination of ingested data.

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

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

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

      The state of the ingestion destination.

      The following states are possible:

      • Active: The ingestion destination is active and is ready to be used.

      • Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

      Parameters:
      status - The state of the ingestion destination.

      The following states are possible:

      • Active: The ingestion destination is active and is ready to be used.

      • Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

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

      The state of the ingestion destination.

      The following states are possible:

      • Active: The ingestion destination is active and is ready to be used.

      • Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

      Parameters:
      status - The state of the ingestion destination.

      The following states are possible:

      • Active: The ingestion destination is active and is ready to be used.

      • Failed: The ingestion destination has failed. If the ingestion destination is in this state, you should verify the ingestion destination configuration and try again.

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

      IngestionDestination.Builder statusReason(String statusReason)

      The reason for the current status of the ingestion destination.

      Only present when the status of ingestion destination is Failed.

      Parameters:
      statusReason - The reason for the current status of the ingestion destination.

      Only present when the status of ingestion destination is Failed.

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

      IngestionDestination.Builder createdAt(Instant createdAt)

      The timestamp of when the ingestion destination was created.

      Parameters:
      createdAt - The timestamp of when the ingestion destination was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      IngestionDestination.Builder updatedAt(Instant updatedAt)

      The timestamp of when the ingestion destination was last updated.

      Parameters:
      updatedAt - The timestamp of when the ingestion destination was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.