Interface AttributeCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AttributeCondition.Builder,
,AttributeCondition> SdkBuilder<AttributeCondition.Builder,
,AttributeCondition> SdkPojo
- Enclosing class:
AttributeCondition
public static interface AttributeCondition.Builder
extends SdkPojo, CopyableBuilder<AttributeCondition.Builder,AttributeCondition>
-
Method Summary
Modifier and TypeMethodDescriptioncomparisonOperator
(String comparisonOperator) The operator of the condition.default AttributeCondition.Builder
matchCriteria
(Consumer<MatchCriteria.Builder> matchCriteria) An object to defineAgentsCriteria
.matchCriteria
(MatchCriteria matchCriteria) An object to defineAgentsCriteria
.The name of predefined attribute.proficiencyLevel
(Float proficiencyLevel) The proficiency level of the condition.The value of predefined attribute.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, sdkFields
-
Method Details
-
name
The name of predefined attribute.
- Parameters:
name
- The name of predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value of predefined attribute.
- Parameters:
value
- The value of predefined attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
proficiencyLevel
The proficiency level of the condition.
- Parameters:
proficiencyLevel
- The proficiency level of the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchCriteria
An object to define
AgentsCriteria
.- Parameters:
matchCriteria
- An object to defineAgentsCriteria
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchCriteria
An object to define
This is a convenience method that creates an instance of theAgentsCriteria
.MatchCriteria.Builder
avoiding the need to create one manually viaMatchCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatchCriteria(MatchCriteria)
.- Parameters:
matchCriteria
- a consumer that will call methods onMatchCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comparisonOperator
The operator of the condition.
- Parameters:
comparisonOperator
- The operator of the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-