public static interface AwsEcsServicePlacementConstraintsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServicePlacementConstraintsDetails.Builder,AwsEcsServicePlacementConstraintsDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsServicePlacementConstraintsDetails.Builder |
expression(String expression)
A cluster query language expression to apply to the constraint.
|
AwsEcsServicePlacementConstraintsDetails.Builder |
type(String type)
The type of constraint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsServicePlacementConstraintsDetails.Builder expression(String expression)
A cluster query language expression to apply to the constraint. You cannot specify an expression if the
constraint type is distinctInstance.
expression - A cluster query language expression to apply to the constraint. You cannot specify an expression if
the constraint type is distinctInstance.AwsEcsServicePlacementConstraintsDetails.Builder type(String type)
The type of constraint. Use distinctInstance to run each task in a particular group on a
different container instance. Use memberOf to restrict the selection to a group of valid
candidates.
Valid values: distinctInstance | memberOf
type - The type of constraint. Use distinctInstance to run each task in a particular group on a
different container instance. Use memberOf to restrict the selection to a group of valid
candidates.
Valid values: distinctInstance | memberOf
Copyright © 2023. All rights reserved.