Interface UpdateMonitorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMonitorRequest.Builder,,UpdateMonitorRequest> NetworkMonitorRequest.Builder,SdkBuilder<UpdateMonitorRequest.Builder,,UpdateMonitorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMonitorRequest
public static interface UpdateMonitorRequest.Builder
extends NetworkMonitorRequest.Builder, SdkPojo, CopyableBuilder<UpdateMonitorRequest.Builder,UpdateMonitorRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod(Long aggregationPeriod) The aggregation time, in seconds, to change to.monitorName(String monitorName) The name of the monitor to update.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmonitor.model.NetworkMonitorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monitorName
The name of the monitor to update.
- Parameters:
monitorName- The name of the monitor to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationPeriod
The aggregation time, in seconds, to change to. This must be either
30or60.- Parameters:
aggregationPeriod- The aggregation time, in seconds, to change to. This must be either30or60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMonitorRequest.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
UpdateMonitorRequest.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.
-