public OnDemandProvisioningSpecification getOnDemandSpecification() {
        return this.onDemandSpecification;
    }
<p>
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
</p>
<note>
<p>
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x
versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
</p>
</note>

@return The launch specification for On-Demand Instances in the instance fleet, which determines the allocation
        strategy. </p> <note>
        <p>
        The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding
        5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and
        later.
        </p>
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/InstanceFleetProvisioningSpecifications.java