Interface DeliveryDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeliveryDestination.Builder,
,DeliveryDestination> SdkBuilder<DeliveryDestination.Builder,
,DeliveryDestination> SdkPojo
- Enclosing class:
DeliveryDestination
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that uniquely identifies this delivery destination.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.deliveryDestinationConfiguration
(DeliveryDestinationConfiguration deliveryDestinationConfiguration) A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.deliveryDestinationType
(String deliveryDestinationType) Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.deliveryDestinationType
(DeliveryDestinationType deliveryDestinationType) Displays whether this delivery destination is CloudWatch Logs, Amazon S3, Firehose, or X-Ray.The name of this delivery destination.outputFormat
(String outputFormat) The format of the logs that are sent to this delivery destination.outputFormat
(OutputFormat outputFormat) The format of the logs that are sent to this delivery destination.The tags that have been assigned to this delivery destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
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
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 theDeliveryDestinationConfiguration.Builder
avoiding the need to create one manually viaDeliveryDestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryDestinationConfiguration(DeliveryDestinationConfiguration)
.- Parameters:
deliveryDestinationConfiguration
- a consumer that will call methods onDeliveryDestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-