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 anANDcondition.andConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... andConditions) A list of conditions which would be applied together with anANDcondition.andConditions(PredefinedAttributeSearchCriteria... andConditions) A list of conditions which would be applied together with anANDcondition.orConditions(Collection<PredefinedAttributeSearchCriteria> orConditions) A list of conditions which would be applied together with anORcondition.orConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... orConditions) A list of conditions which would be applied together with anORcondition.orConditions(PredefinedAttributeSearchCriteria... orConditions) A list of conditions which would be applied together with anORcondition.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
ORcondition.- Parameters:
orConditions- A list of conditions which would be applied together with anORcondition.- 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
ORcondition.- Parameters:
orConditions- A list of conditions which would be applied together with anORcondition.- 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 theORcondition.PredefinedAttributeSearchCriteria.Builderavoiding the need to create one manually viaPredefinedAttributeSearchCriteria.builder().When the
Consumercompletes,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
ANDcondition.- Parameters:
andConditions- A list of conditions which would be applied together with anANDcondition.- 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
ANDcondition.- Parameters:
andConditions- A list of conditions which would be applied together with anANDcondition.- 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 theANDcondition.PredefinedAttributeSearchCriteria.Builderavoiding the need to create one manually viaPredefinedAttributeSearchCriteria.builder().When the
Consumercompletes,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.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:
-