Interface DeliveryDestination.Builder

  • Method Details

    • name

      The name of this delivery destination.

      Parameters:
      name - The name of this delivery destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.

      Parameters:
      arn - The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryDestinationType

      DeliveryDestination.Builder deliveryDestinationType(String deliveryDestinationType)

      Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.

      Parameters:
      deliveryDestinationType - Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryDestinationType

      DeliveryDestination.Builder deliveryDestinationType(DeliveryDestinationType deliveryDestinationType)

      Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.

      Parameters:
      deliveryDestinationType - Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputFormat

      DeliveryDestination.Builder outputFormat(String outputFormat)

      The format of the logs that are sent to this delivery destination.

      Parameters:
      outputFormat - The format of the logs that are sent to this delivery destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • outputFormat

      DeliveryDestination.Builder outputFormat(OutputFormat outputFormat)

      The format of the logs that are sent to this delivery destination.

      Parameters:
      outputFormat - The format of the logs that are sent to this delivery destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deliveryDestinationConfiguration

      DeliveryDestination.Builder deliveryDestinationConfiguration(DeliveryDestinationConfiguration deliveryDestinationConfiguration)

      A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.

      Parameters:
      deliveryDestinationConfiguration - A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryDestinationConfiguration

      default DeliveryDestination.Builder deliveryDestinationConfiguration(Consumer<DeliveryDestinationConfiguration.Builder> deliveryDestinationConfiguration)

      A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.

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

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

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

      The ARN of the IAM role that CloudWatch Logs assumes to deliver to this delivery destination. This field is present only for X-Ray trace delivery destinations that were created with a role.

      Parameters:
      roleArn - The ARN of the IAM role that CloudWatch Logs assumes to deliver to this delivery destination. This field is present only for X-Ray trace delivery destinations that were created with a role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags that have been assigned to this delivery destination.

      Parameters:
      tags - The tags that have been assigned to this delivery destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.