Interface PlacementGroupConfig.Builder

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

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

    • instanceRole

      PlacementGroupConfig.Builder instanceRole(String instanceRole)

      Role of the instance in the cluster.

      Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

      Parameters:
      instanceRole - Role of the instance in the cluster.

      Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

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

      PlacementGroupConfig.Builder instanceRole(InstanceRoleType instanceRole)

      Role of the instance in the cluster.

      Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

      Parameters:
      instanceRole - Role of the instance in the cluster.

      Starting with Amazon EMR release 5.23.0, the only supported instance role is MASTER.

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

      PlacementGroupConfig.Builder placementStrategy(String placementStrategy)

      Amazon EC2 Placement Group strategy associated with instance role.

      Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

      Parameters:
      placementStrategy - Amazon EC2 Placement Group strategy associated with instance role.

      Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

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

      PlacementGroupConfig.Builder placementStrategy(PlacementGroupStrategy placementStrategy)

      Amazon EC2 Placement Group strategy associated with instance role.

      Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

      Parameters:
      placementStrategy - Amazon EC2 Placement Group strategy associated with instance role.

      Starting with Amazon EMR release 5.23.0, the only supported placement strategy is SPREAD for the MASTER instance role.

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