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