Interface AwsEcsServicePlacementConstraintsDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsEcsServicePlacementConstraintsDetails.Builder,AwsEcsServicePlacementConstraintsDetails>, SdkBuilder<AwsEcsServicePlacementConstraintsDetails.Builder,AwsEcsServicePlacementConstraintsDetails>, SdkPojo
Enclosing class:
AwsEcsServicePlacementConstraintsDetails

public static interface AwsEcsServicePlacementConstraintsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServicePlacementConstraintsDetails.Builder,AwsEcsServicePlacementConstraintsDetails>
  • Method Details

    • expression

      A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.

      Parameters:
      expression - A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is distinctInstance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Parameters:
      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.