Interface Condition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Condition.Builder,
,Condition> SdkBuilder<Condition.Builder,
,Condition> SdkPojo
- Enclosing class:
Condition
-
Method Summary
Modifier and TypeMethodDescriptiondefault Condition.Builder
numberCondition
(Consumer<NumberCondition.Builder> numberCondition) A leaf node condition which can be used to specify a numeric condition.numberCondition
(NumberCondition numberCondition) A leaf node condition which can be used to specify a numeric condition.default Condition.Builder
stringCondition
(Consumer<StringCondition.Builder> stringCondition) A leaf node condition which can be used to specify a string condition.stringCondition
(StringCondition stringCondition) A leaf node condition which can be used to specify a string condition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
stringCondition
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
andvalue
.- Parameters:
stringCondition
- A leaf node condition which can be used to specify a string condition.The currently supported values for
FieldName
arename
andvalue
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringCondition
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldName
arename
andvalue
.StringCondition.Builder
avoiding the need to create one manually viaStringCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostringCondition(StringCondition)
.- Parameters:
stringCondition
- a consumer that will call methods onStringCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberCondition
A leaf node condition which can be used to specify a numeric condition.
- Parameters:
numberCondition
- A leaf node condition which can be used to specify a numeric condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberCondition
A leaf node condition which can be used to specify a numeric condition.
This is a convenience method that creates an instance of theNumberCondition.Builder
avoiding the need to create one manually viaNumberCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonumberCondition(NumberCondition)
.- Parameters:
numberCondition
- a consumer that will call methods onNumberCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-