Interface MatchCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatchCriteria.Builder,
,MatchCriteria> SdkBuilder<MatchCriteria.Builder,
,MatchCriteria> SdkPojo
- Enclosing class:
MatchCriteria
@Mutable
@NotThreadSafe
public static interface MatchCriteria.Builder
extends SdkPojo, CopyableBuilder<MatchCriteria.Builder,MatchCriteria>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MatchCriteria.Builder
agentsCriteria
(Consumer<AgentsCriteria.Builder> agentsCriteria) An object to define agentIds.agentsCriteria
(AgentsCriteria agentsCriteria) An object to define agentIds.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, sdkFieldNameToField, sdkFields
-
Method Details
-
agentsCriteria
An object to define agentIds.
- Parameters:
agentsCriteria
- An object to define agentIds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentsCriteria
An object to define agentIds.
This is a convenience method that creates an instance of theAgentsCriteria.Builder
avoiding the need to create one manually viaAgentsCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentsCriteria(AgentsCriteria)
.- Parameters:
agentsCriteria
- a consumer that will call methods onAgentsCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-