Interface PutDeliveryDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>,SdkBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutDeliveryDestinationRequest
@Mutable @NotThreadSafe public static interface PutDeliveryDestinationRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>
-
-
Method Summary
-
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 Detail
-
name
PutDeliveryDestinationRequest.Builder name(String 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
PutDeliveryDestinationRequest.Builder outputFormat(String 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,OutputFormat
-
outputFormat
PutDeliveryDestinationRequest.Builder outputFormat(OutputFormat 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,OutputFormat
-
deliveryDestinationConfiguration
PutDeliveryDestinationRequest.Builder deliveryDestinationConfiguration(DeliveryDestinationConfiguration deliveryDestinationConfiguration)
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.
deliveryDestinationConfigurationis required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationTypeis 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.deliveryDestinationConfigurationis required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationTypeis 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.
This is a convenience method that creates an instance of thedeliveryDestinationConfigurationis required for CloudWatch Logs, Amazon S3, Firehose log delivery destinations and not required for X-Ray trace delivery destinations.deliveryDestinationTypeis needed for X-Ray trace delivery destinations but not required for other logs delivery destinations.DeliveryDestinationConfiguration.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)
-
deliveryDestinationType
PutDeliveryDestinationRequest.Builder deliveryDestinationType(String 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,DeliveryDestinationType
-
-
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:
DeliveryDestinationType,DeliveryDestinationType
-
-
tags
PutDeliveryDestinationRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutDeliveryDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-