public AwsEc2LaunchTemplateDataInstanceRequirementsDetails withOnDemandMaxPricePercentageOverLowestPrice(Integer onDemandMaxPricePercentageOverLowestPrice) {
        setOnDemandMaxPricePercentageOverLowestPrice(onDemandMaxPricePercentageOverLowestPrice);
        return this;
    }
<p>
The price protection threshold for On-Demand Instances. This is the maximum you'll pay for an On-Demand Instance,
expressed as a percentage above the least expensive current generation M, C, or R instance type with your
specified attributes. When Amazon EC2 selects instance types with your attributes, it excludes instance types
priced above your threshold.
</p>
<p>
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
</p>
<p>
A high value, such as <code>999999</code>, turns off price protection.
</p>

@param onDemandMaxPricePercentageOverLowestPrice
       The price protection threshold for On-Demand Instances. This is the maximum you'll pay for an On-Demand
       Instance, expressed as a percentage above the least expensive current generation M, C, or R instance type
       with your specified attributes. When Amazon EC2 selects instance types with your attributes, it excludes
       instance types priced above your threshold.</p>
       <p>
       The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
       </p>
       <p>
       A high value, such as <code>999999</code>, turns off price protection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2LaunchTemplateDataInstanceRequirementsDetails.java