Interface PromptSearchCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PromptSearchCriteria.Builder,PromptSearchCriteria>,SdkBuilder<PromptSearchCriteria.Builder,PromptSearchCriteria>,SdkPojo
- Enclosing class:
- PromptSearchCriteria
public static interface PromptSearchCriteria.Builder extends SdkPojo, CopyableBuilder<PromptSearchCriteria.Builder,PromptSearchCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PromptSearchCriteria.BuilderandConditions(Collection<PromptSearchCriteria> andConditions)A list of conditions which would be applied together with an AND condition.PromptSearchCriteria.BuilderandConditions(Consumer<PromptSearchCriteria.Builder>... andConditions)A list of conditions which would be applied together with an AND condition.PromptSearchCriteria.BuilderandConditions(PromptSearchCriteria... andConditions)A list of conditions which would be applied together with an AND condition.PromptSearchCriteria.BuilderorConditions(Collection<PromptSearchCriteria> orConditions)A list of conditions which would be applied together with an OR condition.PromptSearchCriteria.BuilderorConditions(Consumer<PromptSearchCriteria.Builder>... orConditions)A list of conditions which would be applied together with an OR condition.PromptSearchCriteria.BuilderorConditions(PromptSearchCriteria... orConditions)A list of conditions which would be applied together with an OR condition.default PromptSearchCriteria.BuilderstringCondition(Consumer<StringCondition.Builder> stringCondition)A leaf node condition which can be used to specify a string condition.PromptSearchCriteria.BuilderstringCondition(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, sdkFields
-
-
-
-
Method Detail
-
orConditions
PromptSearchCriteria.Builder orConditions(Collection<PromptSearchCriteria> orConditions)
A list of conditions which would be applied together with an OR condition.
- Parameters:
orConditions- A list of conditions which would be applied together with an OR condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
PromptSearchCriteria.Builder orConditions(PromptSearchCriteria... orConditions)
A list of conditions which would be applied together with an OR condition.
- Parameters:
orConditions- A list of conditions which would be applied together with an OR condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
PromptSearchCriteria.Builder orConditions(Consumer<PromptSearchCriteria.Builder>... orConditions)
A list of conditions which would be applied together with an OR condition.
This is a convenience method that creates an instance of thePromptSearchCriteria.Builderavoiding the need to create one manually viaPromptSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#orConditions(List.) - Parameters:
orConditions- a consumer that will call methods onPromptSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#orConditions(java.util.Collection)
-
andConditions
PromptSearchCriteria.Builder andConditions(Collection<PromptSearchCriteria> andConditions)
A list of conditions which would be applied together with an AND condition.
- Parameters:
andConditions- A list of conditions which would be applied together with an AND condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
PromptSearchCriteria.Builder andConditions(PromptSearchCriteria... andConditions)
A list of conditions which would be applied together with an AND condition.
- Parameters:
andConditions- A list of conditions which would be applied together with an AND condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
PromptSearchCriteria.Builder andConditions(Consumer<PromptSearchCriteria.Builder>... andConditions)
A list of conditions which would be applied together with an AND condition.
This is a convenience method that creates an instance of thePromptSearchCriteria.Builderavoiding the need to create one manually viaPromptSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#andConditions(List.) - Parameters:
andConditions- a consumer that will call methods onPromptSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#andConditions(java.util.Collection)
-
stringCondition
PromptSearchCriteria.Builder stringCondition(StringCondition stringCondition)
A leaf node condition which can be used to specify a string condition.
The currently supported values for
FieldNamearename,description, andresourceID.- Parameters:
stringCondition- A leaf node condition which can be used to specify a string condition.The currently supported values for
FieldNamearename,description, andresourceID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringCondition
default PromptSearchCriteria.Builder stringCondition(Consumer<StringCondition.Builder> 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
FieldNamearename,description, andresourceID.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:
stringCondition(StringCondition)
-
-