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