Interface PredefinedAttributeSearchCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PredefinedAttributeSearchCriteria.Builder,
,PredefinedAttributeSearchCriteria> SdkBuilder<PredefinedAttributeSearchCriteria.Builder,
,PredefinedAttributeSearchCriteria> SdkPojo
- Enclosing class:
PredefinedAttributeSearchCriteria
-
Method Summary
Modifier and TypeMethodDescriptionandConditions
(Collection<PredefinedAttributeSearchCriteria> andConditions) A list of conditions which would be applied together with anAND
condition.andConditions
(Consumer<PredefinedAttributeSearchCriteria.Builder>... andConditions) A list of conditions which would be applied together with anAND
condition.andConditions
(PredefinedAttributeSearchCriteria... andConditions) A list of conditions which would be applied together with anAND
condition.orConditions
(Collection<PredefinedAttributeSearchCriteria> orConditions) A list of conditions which would be applied together with anOR
condition.orConditions
(Consumer<PredefinedAttributeSearchCriteria.Builder>... orConditions) A list of conditions which would be applied together with anOR
condition.orConditions
(PredefinedAttributeSearchCriteria... orConditions) A list of conditions which would be applied together with anOR
condition.stringCondition
(Consumer<StringCondition.Builder> stringCondition) Sets the value of the StringCondition property for this object.stringCondition
(StringCondition stringCondition) Sets the value of the StringCondition property for this object.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 Details
-
orConditions
PredefinedAttributeSearchCriteria.Builder orConditions(Collection<PredefinedAttributeSearchCriteria> 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 anOR
condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
PredefinedAttributeSearchCriteria.Builder orConditions(PredefinedAttributeSearchCriteria... 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 anOR
condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
PredefinedAttributeSearchCriteria.Builder orConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... orConditions) A list of conditions which would be applied together with an
This is a convenience method that creates an instance of theOR
condition.PredefinedAttributeSearchCriteria.Builder
avoiding the need to create one manually viaPredefinedAttributeSearchCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toorConditions(List<PredefinedAttributeSearchCriteria>)
.- Parameters:
orConditions
- a consumer that will call methods onPredefinedAttributeSearchCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
andConditions
PredefinedAttributeSearchCriteria.Builder andConditions(Collection<PredefinedAttributeSearchCriteria> 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 anAND
condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
PredefinedAttributeSearchCriteria.Builder andConditions(PredefinedAttributeSearchCriteria... 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 anAND
condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
PredefinedAttributeSearchCriteria.Builder andConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... andConditions) A list of conditions which would be applied together with an
This is a convenience method that creates an instance of theAND
condition.PredefinedAttributeSearchCriteria.Builder
avoiding the need to create one manually viaPredefinedAttributeSearchCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toandConditions(List<PredefinedAttributeSearchCriteria>)
.- Parameters:
andConditions
- a consumer that will call methods onPredefinedAttributeSearchCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringCondition
Sets the value of the StringCondition property for this object.- Parameters:
stringCondition
- The new value for the StringCondition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringCondition
default PredefinedAttributeSearchCriteria.Builder stringCondition(Consumer<StringCondition.Builder> stringCondition) Sets the value of the StringCondition property for this object. This is a convenience method that creates an instance of theStringCondition.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:
-