Class CfnFilter.StringFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.inspectorv2.CfnFilter.StringFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFilter.StringFilterProperty>
- Enclosing interface:
CfnFilter.StringFilterProperty
@Stability(Stable)
public static final class CfnFilter.StringFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFilter.StringFilterProperty>
A builder for
CfnFilter.StringFilterProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.comparison(String comparison) Sets the value ofCfnFilter.StringFilterProperty.getComparison()Sets the value ofCfnFilter.StringFilterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparison
Sets the value ofCfnFilter.StringFilterProperty.getComparison()- Parameters:
comparison- The operator to use when comparing values in the filter. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnFilter.StringFilterProperty.getValue()- Parameters:
value- The value to filter on. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFilter.StringFilterProperty>- Returns:
- a new instance of
CfnFilter.StringFilterProperty - Throws:
NullPointerException- if any required attribute was not provided
-