Interface UpdateServiceLevelObjectiveRequest.Builder
- All Superinterfaces:
ApplicationSignalsRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateServiceLevelObjectiveRequest.Builder,
,UpdateServiceLevelObjectiveRequest> SdkBuilder<UpdateServiceLevelObjectiveRequest.Builder,
,UpdateServiceLevelObjectiveRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateServiceLevelObjectiveRequest
-
Method Summary
Modifier and TypeMethodDescriptionburnRateConfigurations
(Collection<BurnRateConfiguration> burnRateConfigurations) Use this array to create burn rates for this SLO.burnRateConfigurations
(Consumer<BurnRateConfiguration.Builder>... burnRateConfigurations) Use this array to create burn rates for this SLO.burnRateConfigurations
(BurnRateConfiguration... burnRateConfigurations) Use this array to create burn rates for this SLO.description
(String description) An optional description for the SLO.goal
(Consumer<Goal.Builder> goal) A structure that contains the attributes that determine the goal of the SLO.A structure that contains the attributes that determine the goal of the SLO.The Amazon Resource Name (ARN) or name of the service level objective that you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.requestBasedSliConfig
(Consumer<RequestBasedServiceLevelIndicatorConfig.Builder> requestBasedSliConfig) If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor.requestBasedSliConfig
(RequestBasedServiceLevelIndicatorConfig requestBasedSliConfig) If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor.sliConfig
(Consumer<ServiceLevelIndicatorConfig.Builder> sliConfig) If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.sliConfig
(ServiceLevelIndicatorConfig sliConfig) If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.Builder
build
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The Amazon Resource Name (ARN) or name of the service level objective that you want to update.
- Parameters:
id
- The Amazon Resource Name (ARN) or name of the service level objective that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description for the SLO.
- Parameters:
description
- An optional description for the SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sliConfig
If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.
- Parameters:
sliConfig
- If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sliConfig
default UpdateServiceLevelObjectiveRequest.Builder sliConfig(Consumer<ServiceLevelIndicatorConfig.Builder> sliConfig) If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.
This is a convenience method that creates an instance of theServiceLevelIndicatorConfig.Builder
avoiding the need to create one manually viaServiceLevelIndicatorConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosliConfig(ServiceLevelIndicatorConfig)
.- Parameters:
sliConfig
- a consumer that will call methods onServiceLevelIndicatorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestBasedSliConfig
UpdateServiceLevelObjectiveRequest.Builder requestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig requestBasedSliConfig) If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor.
You can't specify both
SliConfig
andRequestBasedSliConfig
in the same operation.- Parameters:
requestBasedSliConfig
- If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor.You can't specify both
SliConfig
andRequestBasedSliConfig
in the same operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestBasedSliConfig
default UpdateServiceLevelObjectiveRequest.Builder requestBasedSliConfig(Consumer<RequestBasedServiceLevelIndicatorConfig.Builder> requestBasedSliConfig) If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor.
You can't specify both
This is a convenience method that creates an instance of theSliConfig
andRequestBasedSliConfig
in the same operation.RequestBasedServiceLevelIndicatorConfig.Builder
avoiding the need to create one manually viaRequestBasedServiceLevelIndicatorConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig)
.- Parameters:
requestBasedSliConfig
- a consumer that will call methods onRequestBasedServiceLevelIndicatorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
goal
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
- Parameters:
goal
- A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goal
A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
This is a convenience method that creates an instance of theGoal.Builder
avoiding the need to create one manually viaGoal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togoal(Goal)
.- Parameters:
goal
- a consumer that will call methods onGoal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
burnRateConfigurations
UpdateServiceLevelObjectiveRequest.Builder burnRateConfigurations(Collection<BurnRateConfiguration> burnRateConfigurations) Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
- Parameters:
burnRateConfigurations
- Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
burnRateConfigurations
UpdateServiceLevelObjectiveRequest.Builder burnRateConfigurations(BurnRateConfiguration... burnRateConfigurations) Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
- Parameters:
burnRateConfigurations
- Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
burnRateConfigurations
UpdateServiceLevelObjectiveRequest.Builder burnRateConfigurations(Consumer<BurnRateConfiguration.Builder>... burnRateConfigurations) Use this array to create burn rates for this SLO. Each burn rate is a metric that indicates how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
This is a convenience method that creates an instance of theBurnRateConfiguration.Builder
avoiding the need to create one manually viaBurnRateConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toburnRateConfigurations(List<BurnRateConfiguration>)
.- Parameters:
burnRateConfigurations
- a consumer that will call methods onBurnRateConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateServiceLevelObjectiveRequest.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
UpdateServiceLevelObjectiveRequest.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.
-