public PlacementGroupConfig withPlacementStrategy(String placementStrategy) {
        setPlacementStrategy(placementStrategy);
        return this;
    }
<p>
Amazon EC2 Placement Group strategy associated with instance role.
</p>
<p>
Starting with Amazon EMR release 5.23.0, the only supported placement strategy is <code>SPREAD</code> for the
<code>MASTER</code> instance role.
</p>

@param placementStrategy
       Amazon EC2 Placement Group strategy associated with instance role.</p>
       <p>
       Starting with Amazon EMR release 5.23.0, the only supported placement strategy is <code>SPREAD</code> for
       the <code>MASTER</code> instance role.
@return Returns a reference to this object so that method calls can be chained together.
@see PlacementGroupStrategy
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/PlacementGroupConfig.java