Interface EksLabelSelectorRequirement.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EksLabelSelectorRequirement.Builder,,EksLabelSelectorRequirement> SdkBuilder<EksLabelSelectorRequirement.Builder,,EksLabelSelectorRequirement> SdkPojo
- Enclosing class:
EksLabelSelectorRequirement
@Mutable
@NotThreadSafe
public static interface EksLabelSelectorRequirement.Builder
extends SdkPojo, CopyableBuilder<EksLabelSelectorRequirement.Builder,EksLabelSelectorRequirement>
-
Method Summary
Modifier and TypeMethodDescriptionThe label key that the requirement applies to.The operator that relates the label key to the values.operator(EksLabelSelectorOperator operator) The operator that relates the label key to the values.The label values to compare against.values(Collection<String> values) The label values to compare against.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
-
key
The label key that the requirement applies to.
- Parameters:
key- The label key that the requirement applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The operator that relates the label key to the values.
- Parameters:
operator- The operator that relates the label key to the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operator
The operator that relates the label key to the values.
- Parameters:
operator- The operator that relates the label key to the values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
values
The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.
- Parameters:
values- The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.
- Parameters:
values- The label values to compare against. Specify values when the operator is IN or NOT_IN. Leave this empty when the operator is EXISTS or DOES_NOT_EXIST.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-