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.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.
- 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 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 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:
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-