Interface CreateServiceLevelObjectiveRequest.Builder
- All Superinterfaces:
- ApplicationSignalsRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateServiceLevelObjectiveRequest.Builder,,- CreateServiceLevelObjectiveRequest> - SdkBuilder<CreateServiceLevelObjectiveRequest.Builder,,- CreateServiceLevelObjectiveRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateServiceLevelObjectiveRequest
- 
Method SummaryModifier 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 this SLO.goal(Consumer<Goal.Builder> goal) This structure contains the attributes that determine the goal of the SLO.This structure contains the attributes that determine the goal of the SLO.A name for this SLO.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.tags(Collection<Tag> tags) A list of key-value pairs to associate with the SLO.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs to associate with the SLO.A list of key-value pairs to associate with the SLO.Methods inherited from interface software.amazon.awssdk.services.applicationsignals.model.ApplicationSignalsRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameA name for this SLO. - Parameters:
- name- A name for this SLO.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionAn optional description for this SLO. - Parameters:
- description- An optional description for this SLO.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sliConfigIf this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor. You can't specify both RequestBasedSliConfigandSliConfigin the same operation.- Parameters:
- sliConfig- If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.- You can't specify both - RequestBasedSliConfigand- SliConfigin the same operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sliConfigdefault CreateServiceLevelObjectiveRequest.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. You can't specify both This is a convenience method that creates an instance of theRequestBasedSliConfigandSliConfigin the same operation.ServiceLevelIndicatorConfig.Builderavoiding the need to create one manually viaServiceLevelIndicatorConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosliConfig(ServiceLevelIndicatorConfig).- Parameters:
- sliConfig- a consumer that will call methods on- ServiceLevelIndicatorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
requestBasedSliConfigCreateServiceLevelObjectiveRequest.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 RequestBasedSliConfigandSliConfigin 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 - RequestBasedSliConfigand- SliConfigin the same operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
requestBasedSliConfigdefault CreateServiceLevelObjectiveRequest.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 theRequestBasedSliConfigandSliConfigin the same operation.RequestBasedServiceLevelIndicatorConfig.Builderavoiding the need to create one manually viaRequestBasedServiceLevelIndicatorConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig).- Parameters:
- requestBasedSliConfig- a consumer that will call methods on- RequestBasedServiceLevelIndicatorConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
goalThis structure contains the attributes that determine the goal of the SLO. - Parameters:
- goal- This structure contains the attributes that determine the goal of the SLO.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
goalThis structure contains the attributes that determine the goal of the SLO. This is a convenience method that creates an instance of theGoal.Builderavoiding the need to create one manually viaGoal.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togoal(Goal).- Parameters:
- goal- a consumer that will call methods on- Goal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsA 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:TagResourcepermission.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. 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:TagResourcepermission.- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsA 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:TagResourcepermission.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. 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:TagResourcepermission.- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsA 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:TagResourcepermission.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. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
burnRateConfigurationsCreateServiceLevelObjectiveRequest.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.
 
- 
burnRateConfigurationsCreateServiceLevelObjectiveRequest.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.
 
- 
burnRateConfigurationsCreateServiceLevelObjectiveRequest.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.Builderavoiding the need to create one manually viaBurnRateConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toburnRateConfigurations(List<BurnRateConfiguration>).- Parameters:
- burnRateConfigurations- a consumer that will call methods on- BurnRateConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateServiceLevelObjectiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateServiceLevelObjectiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-