Interface Condition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Condition.Builder,,Condition> SdkBuilder<Condition.Builder,,Condition> SdkPojo
- Enclosing class:
Condition
-
Method Summary
Modifier and TypeMethodDescriptiondefault Condition.BuildernumberCondition(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.BuilderstringCondition(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
stringCondition
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldNamearenameandvalue.- Parameters:
stringCondition- A leaf node condition which can be used to specify a string condition.The currently supported values for
FieldNamearenameandvalue.- 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.
This is a convenience method that creates an instance of theThe currently supported values for
FieldNamearenameandvalue.StringCondition.Builderavoiding the need to create one manually viaStringCondition.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNumberCondition.builder().When the
Consumercompletes,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:
-