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