Class CfnServiceLevelObjective.CompositeSliConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.applicationsignals.CfnServiceLevelObjective.CompositeSliConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServiceLevelObjective.CompositeSliConfigProperty>
- Enclosing interface:
CfnServiceLevelObjective.CompositeSliConfigProperty
@Stability(Stable)
public static final class CfnServiceLevelObjective.CompositeSliConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServiceLevelObjective.CompositeSliConfigProperty>
A builder for
CfnServiceLevelObjective.CompositeSliConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compositeSliComponents(List<? extends Object> compositeSliComponents) compositeSliComponents(IResolvable compositeSliComponents) selectionConfig(IResolvable selectionConfig) Sets the value ofCfnServiceLevelObjective.CompositeSliConfigProperty.getSelectionConfig()selectionConfig(CfnServiceLevelObjective.SelectionConfigProperty selectionConfig) Sets the value ofCfnServiceLevelObjective.CompositeSliConfigProperty.getSelectionConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
selectionConfig
@Stability(Stable) public CfnServiceLevelObjective.CompositeSliConfigProperty.Builder selectionConfig(IResolvable selectionConfig) Sets the value ofCfnServiceLevelObjective.CompositeSliConfigProperty.getSelectionConfig()- Parameters:
selectionConfig- the value to be set. This parameter is required.- Returns:
this
-
selectionConfig
@Stability(Stable) public CfnServiceLevelObjective.CompositeSliConfigProperty.Builder selectionConfig(CfnServiceLevelObjective.SelectionConfigProperty selectionConfig) Sets the value ofCfnServiceLevelObjective.CompositeSliConfigProperty.getSelectionConfig()- Parameters:
selectionConfig- the value to be set. This parameter is required.- Returns:
this
-
compositeSliComponents
@Stability(Stable) public CfnServiceLevelObjective.CompositeSliConfigProperty.Builder compositeSliComponents(IResolvable compositeSliComponents) - Parameters:
compositeSliComponents- the value to be set.- Returns:
this
-
compositeSliComponents
@Stability(Stable) public CfnServiceLevelObjective.CompositeSliConfigProperty.Builder compositeSliComponents(List<? extends Object> compositeSliComponents) - Parameters:
compositeSliComponents- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServiceLevelObjective.CompositeSliConfigProperty>- Returns:
- a new instance of
CfnServiceLevelObjective.CompositeSliConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-