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.BuilderagentsCriteria(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
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
-
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.Builderavoiding the need to create one manually viaAgentsCriteria.builder().When the
Consumercompletes,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:
-