Class CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fis.CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty>
- Enclosing interface:
CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty
@Stability(Stable)
public static final class CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.getPath()
Sets the value ofCfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.Builder path(String path) Sets the value ofCfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.getPath()
- Parameters:
path
- The attribute path for the filter. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.Builder values(List<String> values) Sets the value ofCfnExperimentTemplate.ExperimentTemplateTargetFilterProperty.getValues()
- Parameters:
values
- The attribute values for the filter. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty>
- Returns:
- a new instance of
CfnExperimentTemplate.ExperimentTemplateTargetFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-