public LaunchTemplatePlacement withPartitionNumber(Integer partitionNumber) {
        setPartitionNumber(partitionNumber);
        return this;
    }
<p>
The number of the partition the instance should launch in. Valid only if the placement group strategy is set to
<code>partition</code>.
</p>

@param partitionNumber
       The number of the partition the instance should launch in. Valid only if the placement group strategy is
       set to <code>partition</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/LaunchTemplatePlacement.java