Class CfnFilter.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.guardduty.CfnFilter.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFilter.ConditionProperty>
- Enclosing interface:
CfnFilter.ConditionProperty
@Stability(Stable)
public static final class CfnFilter.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFilter.ConditionProperty>
A builder for
CfnFilter.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFilter.ConditionProperty.getEq()Sets the value ofCfnFilter.ConditionProperty.getEqualTo()greaterThan(Number greaterThan) Sets the value ofCfnFilter.ConditionProperty.getGreaterThan()greaterThanOrEqual(Number greaterThanOrEqual) Sets the value ofCfnFilter.ConditionProperty.getGreaterThanOrEqual()Sets the value ofCfnFilter.ConditionProperty.getGt()Sets the value ofCfnFilter.ConditionProperty.getGte()Sets the value ofCfnFilter.ConditionProperty.getLessThan()lessThanOrEqual(Number lessThanOrEqual) Sets the value ofCfnFilter.ConditionProperty.getLessThanOrEqual()Sets the value ofCfnFilter.ConditionProperty.getLt()Sets the value ofCfnFilter.ConditionProperty.getLte()Sets the value ofCfnFilter.ConditionProperty.getNeq()Sets the value ofCfnFilter.ConditionProperty.getNotEquals()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eq
Sets the value ofCfnFilter.ConditionProperty.getEq()- Parameters:
eq- Represents the equal condition to apply to a single field when querying for findings.- Returns:
this
-
equalTo
Sets the value ofCfnFilter.ConditionProperty.getEqualTo()- Parameters:
equalTo- Represents an equal ** condition to be applied to a single field when querying for findings.- Returns:
this
-
greaterThan
Sets the value ofCfnFilter.ConditionProperty.getGreaterThan()- Parameters:
greaterThan- Represents a greater than condition to be applied to a single field when querying for findings.- Returns:
this
-
greaterThanOrEqual
@Stability(Stable) public CfnFilter.ConditionProperty.Builder greaterThanOrEqual(Number greaterThanOrEqual) Sets the value ofCfnFilter.ConditionProperty.getGreaterThanOrEqual()- Parameters:
greaterThanOrEqual- Represents a greater than or equal condition to be applied to a single field when querying for findings.- Returns:
this
-
gt
Sets the value ofCfnFilter.ConditionProperty.getGt()- Parameters:
gt- Represents a greater than condition to be applied to a single field when querying for findings.- Returns:
this
-
gte
Sets the value ofCfnFilter.ConditionProperty.getGte()- Parameters:
gte- Represents the greater than or equal condition to apply to a single field when querying for findings.- Returns:
this
-
lessThan
Sets the value ofCfnFilter.ConditionProperty.getLessThan()- Parameters:
lessThan- Represents a less than condition to be applied to a single field when querying for findings.- Returns:
this
-
lessThanOrEqual
@Stability(Stable) public CfnFilter.ConditionProperty.Builder lessThanOrEqual(Number lessThanOrEqual) Sets the value ofCfnFilter.ConditionProperty.getLessThanOrEqual()- Parameters:
lessThanOrEqual- Represents a less than or equal condition to be applied to a single field when querying for findings.- Returns:
this
-
lt
Sets the value ofCfnFilter.ConditionProperty.getLt()- Parameters:
lt- Represents the less than condition to apply to a single field when querying for findings.- Returns:
this
-
lte
Sets the value ofCfnFilter.ConditionProperty.getLte()- Parameters:
lte- Represents the less than or equal condition to apply to a single field when querying for findings.- Returns:
this
-
neq
Sets the value ofCfnFilter.ConditionProperty.getNeq()- Parameters:
neq- Represents the not equal condition to apply to a single field when querying for findings.- Returns:
this
-
notEquals
Sets the value ofCfnFilter.ConditionProperty.getNotEquals()- Parameters:
notEquals- Represents a not equal ** condition to be applied to a single field when querying for findings.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFilter.ConditionProperty>- Returns:
- a new instance of
CfnFilter.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-