Interface NotificationSearchCriteria.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationSearchCriteria.Builder,,NotificationSearchCriteria> SdkBuilder<NotificationSearchCriteria.Builder,,NotificationSearchCriteria> SdkPojo
- Enclosing class:
NotificationSearchCriteria
-
Method Summary
Modifier and TypeMethodDescriptionandConditions(Collection<NotificationSearchCriteria> andConditions) A list of conditions that must all be satisfied.andConditions(Consumer<NotificationSearchCriteria.Builder>... andConditions) A list of conditions that must all be satisfied.andConditions(NotificationSearchCriteria... andConditions) A list of conditions that must all be satisfied.orConditions(Collection<NotificationSearchCriteria> orConditions) A list of conditions to be met, where at least one condition must be satisfied.orConditions(Consumer<NotificationSearchCriteria.Builder>... orConditions) A list of conditions to be met, where at least one condition must be satisfied.orConditions(NotificationSearchCriteria... orConditions) A list of conditions to be met, where at least one condition must be satisfied.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, sdkFieldNameToField, sdkFields
-
Method Details
-
orConditions
NotificationSearchCriteria.Builder orConditions(Collection<NotificationSearchCriteria> orConditions) A list of conditions to be met, where at least one condition must be satisfied.
- Parameters:
orConditions- A list of conditions to be met, where at least one condition must be satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
A list of conditions to be met, where at least one condition must be satisfied.
- Parameters:
orConditions- A list of conditions to be met, where at least one condition must be satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orConditions
NotificationSearchCriteria.Builder orConditions(Consumer<NotificationSearchCriteria.Builder>... orConditions) A list of conditions to be met, where at least one condition must be satisfied.
This is a convenience method that creates an instance of theNotificationSearchCriteria.Builderavoiding the need to create one manually viaNotificationSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorConditions(List<NotificationSearchCriteria>).- Parameters:
orConditions- a consumer that will call methods onNotificationSearchCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
andConditions
NotificationSearchCriteria.Builder andConditions(Collection<NotificationSearchCriteria> andConditions) A list of conditions that must all be satisfied.
- Parameters:
andConditions- A list of conditions that must all be satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
A list of conditions that must all be satisfied.
- Parameters:
andConditions- A list of conditions that must all be satisfied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
andConditions
NotificationSearchCriteria.Builder andConditions(Consumer<NotificationSearchCriteria.Builder>... andConditions) A list of conditions that must all be satisfied.
This is a convenience method that creates an instance of theNotificationSearchCriteria.Builderavoiding the need to create one manually viaNotificationSearchCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toandConditions(List<NotificationSearchCriteria>).- Parameters:
andConditions- a consumer that will call methods onNotificationSearchCriteria.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 NotificationSearchCriteria.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:
-