Interface PutDeliveryDestinationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>
,SdkBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutDeliveryDestinationRequest
public static interface PutDeliveryDestinationRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<PutDeliveryDestinationRequest.Builder,PutDeliveryDestinationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description 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.PutDeliveryDestinationRequest.Builder
deliveryDestinationConfiguration(DeliveryDestinationConfiguration deliveryDestinationConfiguration)
A structure that contains the ARN of the Amazon Web Services resource that will receive the logs.PutDeliveryDestinationRequest.Builder
name(String name)
A name for this delivery destination.PutDeliveryDestinationRequest.Builder
outputFormat(String outputFormat)
The format for the logs that this delivery destination will receive.PutDeliveryDestinationRequest.Builder
outputFormat(OutputFormat outputFormat)
The format for the logs that this delivery destination will receive.PutDeliveryDestinationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutDeliveryDestinationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
PutDeliveryDestinationRequest.Builder
tags(Map<String,String> tags)
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 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.
- 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.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:
deliveryDestinationConfiguration(DeliveryDestinationConfiguration)
-
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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutDeliveryDestinationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-