Interface DeliveryDestination.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeliveryDestination.Builder,DeliveryDestination>,SdkBuilder<DeliveryDestination.Builder,DeliveryDestination>,SdkPojo
- Enclosing class:
- DeliveryDestination
public static interface DeliveryDestination.Builder extends SdkPojo, CopyableBuilder<DeliveryDestination.Builder,DeliveryDestination>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeliveryDestination.Builderarn(String arn)The Amazon Resource Name (ARN) that uniquely identifies this delivery destination.default DeliveryDestination.BuilderdeliveryDestinationConfiguration(Consumer<DeliveryDestinationConfiguration.Builder> deliveryDestinationConfiguration)A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.DeliveryDestination.BuilderdeliveryDestinationConfiguration(DeliveryDestinationConfiguration deliveryDestinationConfiguration)A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.DeliveryDestination.BuilderdeliveryDestinationType(String deliveryDestinationType)Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.DeliveryDestination.BuilderdeliveryDestinationType(DeliveryDestinationType deliveryDestinationType)Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.DeliveryDestination.Buildername(String name)The name of this delivery destination.DeliveryDestination.BuilderoutputFormat(String outputFormat)The format of the logs that are sent to this delivery destination.DeliveryDestination.BuilderoutputFormat(OutputFormat outputFormat)The format of the logs that are sent to this delivery destination.DeliveryDestination.Buildertags(Map<String,String> tags)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 Detail
-
name
DeliveryDestination.Builder name(String 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
DeliveryDestination.Builder arn(String 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, or Firehose.
- Parameters:
deliveryDestinationType- Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeliveryDestinationType,DeliveryDestinationType
-
deliveryDestinationType
DeliveryDestination.Builder deliveryDestinationType(DeliveryDestinationType deliveryDestinationType)
Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.
- Parameters:
deliveryDestinationType- Displays whether this delivery destination is CloudWatch Logs, Amazon S3, or Firehose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeliveryDestinationType,DeliveryDestinationType
-
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,OutputFormat
-
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:
OutputFormat,OutputFormat
-
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.Builderavoiding the need to create one manually viaDeliveryDestinationConfiguration.builder().When the
Consumercompletes,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:
deliveryDestinationConfiguration(DeliveryDestinationConfiguration)
-
tags
DeliveryDestination.Builder tags(Map<String,String> 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.
-
-