Interface TaskDefinitionPlacementConstraint.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TaskDefinitionPlacementConstraint.Builder,TaskDefinitionPlacementConstraint>
,SdkBuilder<TaskDefinitionPlacementConstraint.Builder,TaskDefinitionPlacementConstraint>
,SdkPojo
- Enclosing class:
- TaskDefinitionPlacementConstraint
public static interface TaskDefinitionPlacementConstraint.Builder extends SdkPojo, CopyableBuilder<TaskDefinitionPlacementConstraint.Builder,TaskDefinitionPlacementConstraint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskDefinitionPlacementConstraint.Builder
expression(String expression)
A cluster query language expression to apply to the constraint.TaskDefinitionPlacementConstraint.Builder
type(String type)
The type of constraint.TaskDefinitionPlacementConstraint.Builder
type(TaskDefinitionPlacementConstraintType type)
The type of constraint.-
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 Detail
-
type
TaskDefinitionPlacementConstraint.Builder type(String type)
The type of constraint. The
MemberOf
constraint restricts selection to be from a group of valid candidates.- Parameters:
type
- The type of constraint. TheMemberOf
constraint restricts selection to be from a group of valid candidates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskDefinitionPlacementConstraintType
,TaskDefinitionPlacementConstraintType
-
type
TaskDefinitionPlacementConstraint.Builder type(TaskDefinitionPlacementConstraintType type)
The type of constraint. The
MemberOf
constraint restricts selection to be from a group of valid candidates.- Parameters:
type
- The type of constraint. TheMemberOf
constraint restricts selection to be from a group of valid candidates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaskDefinitionPlacementConstraintType
,TaskDefinitionPlacementConstraintType
-
expression
TaskDefinitionPlacementConstraint.Builder expression(String expression)
A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.
- Parameters:
expression
- A cluster query language expression to apply to the constraint. For more information, see Cluster query language in the Amazon Elastic Container Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-