Interface PlacementGroupConfig.Builder

    • Method Detail

      • 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:
        InstanceRoleType, InstanceRoleType
      • 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:
        InstanceRoleType, InstanceRoleType
      • 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:
        PlacementGroupStrategy, PlacementGroupStrategy
      • 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:
        PlacementGroupStrategy, PlacementGroupStrategy