Interface PutDeliveryDestinationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<PutDeliveryDestinationRequest.Builder,
,PutDeliveryDestinationRequest> SdkBuilder<PutDeliveryDestinationRequest.Builder,
,PutDeliveryDestinationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutDeliveryDestinationRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeliveryDestinationConfiguration
(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) The type of delivery destination.deliveryDestinationType
(DeliveryDestinationType deliveryDestinationType) The type of delivery destination.A name for this delivery destination.outputFormat
(String outputFormat) The format for the logs that this delivery destination will receive.outputFormat
(OutputFormat outputFormat) The format for the logs that this delivery destination will receive.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An optional list of key-value pairs to associate with the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
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
A name for this delivery destination. This name must be unique for all delivery destinations in your account.
- Parameters:
name
- A name for this delivery destination. This name must be unique for all delivery destinations in your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputFormat
The format for the logs that this delivery destination will receive.
- Parameters:
outputFormat
- The format for the logs that this delivery destination will receive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputFormat
The format for the logs that this delivery destination will receive.
- Parameters:
outputFormat
- The format for the logs that this delivery destination will receive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deliveryDestinationConfiguration
PutDeliveryDestinationRequest.Builder deliveryDestinationConfiguration(DeliveryDestinationConfiguration deliveryDestinationConfiguration) A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
deliveryDestinationConfiguration
is required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationType
is needed for X-Ray trace delivery destinations but not required for other logs delivery destinations.- Parameters:
deliveryDestinationConfiguration
- A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.deliveryDestinationConfiguration
is required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationType
is needed for X-Ray trace delivery destinations but not required for other logs delivery destinations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deliveryDestinationConfiguration
default PutDeliveryDestinationRequest.Builder deliveryDestinationConfiguration(Consumer<DeliveryDestinationConfiguration.Builder> deliveryDestinationConfiguration) A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
deliveryDestinationConfiguration
is required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationType
is needed for X-Ray trace delivery destinations but not required for other logs delivery destinations.DeliveryDestinationConfiguration.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:
-
deliveryDestinationType
The type of delivery destination. This parameter specifies the target service where log data will be delivered. Valid values include:
-
S3
- Amazon S3 for long-term storage and analytics -
CWL
- CloudWatch Logs for centralized log management -
FH
- Amazon Kinesis Data Firehose for real-time data streaming -
XRAY
- Amazon Web Services X-Ray for distributed tracing and application monitoring
The delivery destination type determines the format and configuration options available for log delivery.
- Parameters:
deliveryDestinationType
- The type of delivery destination. This parameter specifies the target service where log data will be delivered. Valid values include:-
S3
- Amazon S3 for long-term storage and analytics -
CWL
- CloudWatch Logs for centralized log management -
FH
- Amazon Kinesis Data Firehose for real-time data streaming -
XRAY
- Amazon Web Services X-Ray for distributed tracing and application monitoring
The delivery destination type determines the format and configuration options available for log delivery.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deliveryDestinationType
PutDeliveryDestinationRequest.Builder deliveryDestinationType(DeliveryDestinationType deliveryDestinationType) The type of delivery destination. This parameter specifies the target service where log data will be delivered. Valid values include:
-
S3
- Amazon S3 for long-term storage and analytics -
CWL
- CloudWatch Logs for centralized log management -
FH
- Amazon Kinesis Data Firehose for real-time data streaming -
XRAY
- Amazon Web Services X-Ray for distributed tracing and application monitoring
The delivery destination type determines the format and configuration options available for log delivery.
- Parameters:
deliveryDestinationType
- The type of delivery destination. This parameter specifies the target service where log data will be delivered. Valid values include:-
S3
- Amazon S3 for long-term storage and analytics -
CWL
- CloudWatch Logs for centralized log management -
FH
- Amazon Kinesis Data Firehose for real-time data streaming -
XRAY
- Amazon Web Services X-Ray for distributed tracing and application monitoring
The delivery destination type determines the format and configuration options available for log delivery.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tags
An optional list of key-value pairs to associate with the resource.
For more information about tagging, see Tagging Amazon Web Services resources
- Parameters:
tags
- An optional list of key-value pairs to associate with the resource.For more information about tagging, see Tagging Amazon Web Services resources
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDeliveryDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutDeliveryDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-