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