Class CfnServiceLevelObjectivePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin>
- Enclosing class:
CfnServiceLevelObjectivePropsMixin
CfnServiceLevelObjectivePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()burnRateConfigurations(List<? extends Object> burnRateConfigurations) Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.burnRateConfigurations(IResolvable burnRateConfigurations) Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.create()create(CfnPropertyMixinOptions options) description(String description) An optional description for this SLO.exclusionWindows(List<? extends Object> exclusionWindows) The time window to be excluded from the SLO performance metrics.exclusionWindows(IResolvable exclusionWindows) The time window to be excluded from the SLO performance metrics.This structure contains the attributes that determine the goal of an SLO.goal(IResolvable goal) This structure contains the attributes that determine the goal of an SLO.A name for this SLO.A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.requestBasedSli(IResolvable requestBasedSli) A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.sli(IResolvable sli) A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.A list of key-value pairs to associate with the SLO.
-
Method Details
-
create
@Stability(Stable) public static CfnServiceLevelObjectivePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnServiceLevelObjectivePropsMixin.Builder.
-
burnRateConfigurations
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder burnRateConfigurations(IResolvable burnRateConfigurations) Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
- Parameters:
burnRateConfigurations- Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. This parameter is required.- Returns:
this- See Also:
-
burnRateConfigurations
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder burnRateConfigurations(List<? extends Object> burnRateConfigurations) Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO.The burn rate measures how fast the service is consuming the error budget, relative to the attainment goal of the SLO.
- Parameters:
burnRateConfigurations- Each object in this array defines the length of the look-back window used to calculate one burn rate metric for this SLO. This parameter is required.- Returns:
this- See Also:
-
description
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder description(String description) An optional description for this SLO.Default: - "No description"
- Parameters:
description- An optional description for this SLO. This parameter is required.- Returns:
this- See Also:
-
exclusionWindows
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder exclusionWindows(IResolvable exclusionWindows) The time window to be excluded from the SLO performance metrics.- Parameters:
exclusionWindows- The time window to be excluded from the SLO performance metrics. This parameter is required.- Returns:
this- See Also:
-
exclusionWindows
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder exclusionWindows(List<? extends Object> exclusionWindows) The time window to be excluded from the SLO performance metrics.- Parameters:
exclusionWindows- The time window to be excluded from the SLO performance metrics. This parameter is required.- Returns:
this- See Also:
-
goal
This structure contains the attributes that determine the goal of an SLO.This includes the time period for evaluation and the attainment threshold.
- Parameters:
goal- This structure contains the attributes that determine the goal of an SLO. This parameter is required.- Returns:
this- See Also:
-
goal
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder goal(CfnServiceLevelObjectivePropsMixin.GoalProperty goal) This structure contains the attributes that determine the goal of an SLO.This includes the time period for evaluation and the attainment threshold.
- Parameters:
goal- This structure contains the attributes that determine the goal of an SLO. This parameter is required.- Returns:
this- See Also:
-
name
A name for this SLO.- Parameters:
name- A name for this SLO. This parameter is required.- Returns:
this- See Also:
-
requestBasedSli
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder requestBasedSli(IResolvable requestBasedSli) A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.- Parameters:
requestBasedSli- A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO. This parameter is required.- Returns:
this- See Also:
-
requestBasedSli
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder requestBasedSli(CfnServiceLevelObjectivePropsMixin.RequestBasedSliProperty requestBasedSli) A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.- Parameters:
requestBasedSli- A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO. This parameter is required.- Returns:
this- See Also:
-
sli
A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.- Parameters:
sli- A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO. This parameter is required.- Returns:
this- See Also:
-
sli
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder sli(CfnServiceLevelObjectivePropsMixin.SliProperty sli) A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.- Parameters:
sli- A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnServiceLevelObjectivePropsMixin.Builder tags(List<? extends CfnTag> tags) A list of key-value pairs to associate with the SLO.You can associate as many as 50 tags with an SLO. To be able to associate tags with the SLO when you create the SLO, you must have the cloudwatch:TagResource permission.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
- Parameters:
tags- A list of key-value pairs to associate with the SLO. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjectivePropsMixin>- Returns:
- a newly built instance of
CfnServiceLevelObjectivePropsMixin.
-