Interface BatchUpdateExclusionWindowsRequest.Builder
- All Superinterfaces:
ApplicationSignalsRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateExclusionWindowsRequest.Builder,,BatchUpdateExclusionWindowsRequest> SdkBuilder<BatchUpdateExclusionWindowsRequest.Builder,,BatchUpdateExclusionWindowsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchUpdateExclusionWindowsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddExclusionWindows(Collection<ExclusionWindow> addExclusionWindows) A list of exclusion windows to add to the specified SLOs.addExclusionWindows(Consumer<ExclusionWindow.Builder>... addExclusionWindows) A list of exclusion windows to add to the specified SLOs.addExclusionWindows(ExclusionWindow... addExclusionWindows) A list of exclusion windows to add to the specified SLOs.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeExclusionWindows(Collection<ExclusionWindow> removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs.removeExclusionWindows(Consumer<ExclusionWindow.Builder>... removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs.removeExclusionWindows(ExclusionWindow... removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs.The list of SLO IDs to add or remove exclusion windows from.sloIds(Collection<String> sloIds) The list of SLO IDs to add or remove exclusion windows from.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sloIds
The list of SLO IDs to add or remove exclusion windows from.
- Parameters:
sloIds- The list of SLO IDs to add or remove exclusion windows from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sloIds
The list of SLO IDs to add or remove exclusion windows from.
- Parameters:
sloIds- The list of SLO IDs to add or remove exclusion windows from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder addExclusionWindows(Collection<ExclusionWindow> addExclusionWindows) A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.
- Parameters:
addExclusionWindows- A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder addExclusionWindows(ExclusionWindow... addExclusionWindows) A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.
- Parameters:
addExclusionWindows- A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder addExclusionWindows(Consumer<ExclusionWindow.Builder>... addExclusionWindows) A list of exclusion windows to add to the specified SLOs. You can add up to 10 exclusion windows per SLO.
This is a convenience method that creates an instance of theExclusionWindow.Builderavoiding the need to create one manually viaExclusionWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddExclusionWindows(List<ExclusionWindow>).- Parameters:
addExclusionWindows- a consumer that will call methods onExclusionWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder removeExclusionWindows(Collection<ExclusionWindow> removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.
- Parameters:
removeExclusionWindows- A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder removeExclusionWindows(ExclusionWindow... removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.
- Parameters:
removeExclusionWindows- A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeExclusionWindows
BatchUpdateExclusionWindowsRequest.Builder removeExclusionWindows(Consumer<ExclusionWindow.Builder>... removeExclusionWindows) A list of exclusion windows to remove from the specified SLOs. The window configuration must match an existing exclusion window.
This is a convenience method that creates an instance of theExclusionWindow.Builderavoiding the need to create one manually viaExclusionWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoveExclusionWindows(List<ExclusionWindow>).- Parameters:
removeExclusionWindows- a consumer that will call methods onExclusionWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateExclusionWindowsRequest.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
BatchUpdateExclusionWindowsRequest.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.
-