Interface PutLoggingOptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutLoggingOptionsRequest.Builder,PutLoggingOptionsRequest>,IoTFleetWiseRequest.Builder,SdkBuilder<PutLoggingOptionsRequest.Builder,PutLoggingOptionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutLoggingOptionsRequest
public static interface PutLoggingOptionsRequest.Builder extends IoTFleetWiseRequest.Builder, SdkPojo, CopyableBuilder<PutLoggingOptionsRequest.Builder,PutLoggingOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PutLoggingOptionsRequest.BuildercloudWatchLogDelivery(Consumer<CloudWatchLogDeliveryOptions.Builder> cloudWatchLogDelivery)Creates or updates the log delivery option to Amazon CloudWatch Logs.PutLoggingOptionsRequest.BuildercloudWatchLogDelivery(CloudWatchLogDeliveryOptions cloudWatchLogDelivery)Creates or updates the log delivery option to Amazon CloudWatch Logs.PutLoggingOptionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutLoggingOptionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaCloudWatchLogDeliveryOptions.builder().When the
Consumercompletes,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:
cloudWatchLogDelivery(CloudWatchLogDeliveryOptions)
-
overrideConfiguration
PutLoggingOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutLoggingOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-