Interface PutLoggingOptionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutLoggingOptionsRequest.Builder,
,PutLoggingOptionsRequest> IoTFleetWiseRequest.Builder
,SdkBuilder<PutLoggingOptionsRequest.Builder,
,PutLoggingOptionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutLoggingOptionsRequest
@Mutable
@NotThreadSafe
public static interface PutLoggingOptionsRequest.Builder
extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<PutLoggingOptionsRequest.Builder,PutLoggingOptionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PutLoggingOptionsRequest.Builder
cloudWatchLogDelivery
(Consumer<CloudWatchLogDeliveryOptions.Builder> cloudWatchLogDelivery) Creates or updates the log delivery option to Amazon CloudWatch Logs.cloudWatchLogDelivery
(CloudWatchLogDeliveryOptions cloudWatchLogDelivery) Creates or updates the log delivery option to Amazon CloudWatch Logs.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseRequest.Builder
build
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
-
cloudWatchLogDelivery
PutLoggingOptionsRequest.Builder cloudWatchLogDelivery(CloudWatchLogDeliveryOptions cloudWatchLogDelivery) Creates or updates the log delivery option to Amazon CloudWatch Logs.
- Parameters:
cloudWatchLogDelivery
- Creates or updates the log delivery option to Amazon CloudWatch Logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogDelivery
default PutLoggingOptionsRequest.Builder cloudWatchLogDelivery(Consumer<CloudWatchLogDeliveryOptions.Builder> cloudWatchLogDelivery) Creates or updates the log delivery option to Amazon CloudWatch Logs.
This is a convenience method that creates an instance of theCloudWatchLogDeliveryOptions.Builder
avoiding the need to create one manually viaCloudWatchLogDeliveryOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogDelivery(CloudWatchLogDeliveryOptions)
.- Parameters:
cloudWatchLogDelivery
- a consumer that will call methods onCloudWatchLogDeliveryOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutLoggingOptionsRequest.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
PutLoggingOptionsRequest.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.
-