Interface PredefinedAttributeSearchCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PredefinedAttributeSearchCriteria.Builder,PredefinedAttributeSearchCriteria>,SdkBuilder<PredefinedAttributeSearchCriteria.Builder,PredefinedAttributeSearchCriteria>,SdkPojo
- Enclosing class:
- PredefinedAttributeSearchCriteria
public static interface PredefinedAttributeSearchCriteria.Builder extends SdkPojo, CopyableBuilder<PredefinedAttributeSearchCriteria.Builder,PredefinedAttributeSearchCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PredefinedAttributeSearchCriteria.BuilderandConditions(Collection<PredefinedAttributeSearchCriteria> andConditions)A list of conditions which would be applied together with anANDcondition.PredefinedAttributeSearchCriteria.BuilderandConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... andConditions)A list of conditions which would be applied together with anANDcondition.PredefinedAttributeSearchCriteria.BuilderandConditions(PredefinedAttributeSearchCriteria... andConditions)A list of conditions which would be applied together with anANDcondition.PredefinedAttributeSearchCriteria.BuilderorConditions(Collection<PredefinedAttributeSearchCriteria> orConditions)A list of conditions which would be applied together with anORcondition.PredefinedAttributeSearchCriteria.BuilderorConditions(Consumer<PredefinedAttributeSearchCriteria.Builder>... orConditions)A list of conditions which would be applied together with anORcondition.PredefinedAttributeSearchCriteria.BuilderorConditions(PredefinedAttributeSearchCriteria... orConditions)A list of conditions which would be applied together with anORcondition.default PredefinedAttributeSearchCriteria.BuilderstringCondition(Consumer<StringCondition.Builder> stringCondition)Sets the value of the StringCondition property for this object.PredefinedAttributeSearchCriteria.BuilderstringCondition(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 Detail
-
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 to#orConditions(List.) - 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:
#orConditions(java.util.Collection)
-
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 to#andConditions(List.) - 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:
#andConditions(java.util.Collection)
-
stringCondition
PredefinedAttributeSearchCriteria.Builder stringCondition(StringCondition 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:
stringCondition(StringCondition)
-
-