Interface ContactEvaluationAttributeCondition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContactEvaluationAttributeCondition.Builder,,ContactEvaluationAttributeCondition> SdkBuilder<ContactEvaluationAttributeCondition.Builder,,ContactEvaluationAttributeCondition> SdkPojo
- Enclosing class:
ContactEvaluationAttributeCondition
@Mutable
@NotThreadSafe
public static interface ContactEvaluationAttributeCondition.Builder
extends SdkPojo, CopyableBuilder<ContactEvaluationAttributeCondition.Builder,ContactEvaluationAttributeCondition>
-
Method Summary
Modifier and TypeMethodDescriptionattributeKey(String attributeKey) The key of the attribute.attributeKey(ContactEvaluationAttributeKey attributeKey) The key of the attribute.attributeValue(Consumer<ContactEvaluationAttributeValue.Builder> attributeValue) The value of the attribute.attributeValue(ContactEvaluationAttributeValue attributeValue) The value of the attribute.comparisonType(String comparisonType) The comparison type for the condition.comparisonType(ContactEvaluationAttributeComparisonType comparisonType) The comparison type for the condition.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
-
attributeKey
The key of the attribute.
- Parameters:
attributeKey- The key of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeKey
ContactEvaluationAttributeCondition.Builder attributeKey(ContactEvaluationAttributeKey attributeKey) The key of the attribute.
- Parameters:
attributeKey- The key of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeValue
ContactEvaluationAttributeCondition.Builder attributeValue(ContactEvaluationAttributeValue attributeValue) The value of the attribute.
- Parameters:
attributeValue- The value of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValue
default ContactEvaluationAttributeCondition.Builder attributeValue(Consumer<ContactEvaluationAttributeValue.Builder> attributeValue) The value of the attribute.
This is a convenience method that creates an instance of theContactEvaluationAttributeValue.Builderavoiding the need to create one manually viaContactEvaluationAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeValue(ContactEvaluationAttributeValue).- Parameters:
attributeValue- a consumer that will call methods onContactEvaluationAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comparisonType
The comparison type for the condition.
- Parameters:
comparisonType- The comparison type for the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comparisonType
ContactEvaluationAttributeCondition.Builder comparisonType(ContactEvaluationAttributeComparisonType comparisonType) The comparison type for the condition.
- Parameters:
comparisonType- The comparison type for the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-