public Integer getSpotMaxPricePercentageOverLowestPrice() {
        return this.spotMaxPricePercentageOverLowestPrice;
    }
<p>
[Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified
Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R
instance type with your specified attributes. If no current generation C, M, or R instance type matches your
attributes, then the identified Spot price is from the lowest priced current generation instance types, and
failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon
EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your
specified threshold.
</p>
<p>
The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
</p>
<p>
If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price
protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price.
</p>
<p>
This parameter is not supported for <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html"
>GetSpotPlacementScores</a> and <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html"
>GetInstanceTypesFromInstanceRequirements</a>.
</p>
<note>
<p>
Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
<code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify either, Amazon
EC2 will automatically apply optimal price protection to consistently select from a wide range of instance types.
To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types
that match your attributes, include one of these parameters and specify a high value, such as <code>999999</code>
.
</p>
</note>
<p>
Default: <code>100</code>
</p>

@return [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an
        identified Spot price. The identified Spot price is the Spot price of the lowest priced current
        generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R
        instance type matches your attributes, then the identified Spot price is from the lowest priced current
        generation instance types, and failing that, from the lowest priced previous generation instance types
        that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude
        instance types whose Spot price exceeds your specified threshold.</p>
        <p>
        The parameter accepts an integer, which Amazon EC2 interprets as a percentage.
        </p>
        <p>
        If you set <code>TargetCapacityUnitType</code> to <code>vcpu</code> or <code>memory-mib</code>, the price
        protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance
        price.
        </p>
        <p>
        This parameter is not supported for <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetSpotPlacementScores.html"
        >GetSpotPlacementScores</a> and <a href=
        "https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetInstanceTypesFromInstanceRequirements.html"
        >GetInstanceTypesFromInstanceRequirements</a>.
        </p>
        <note>
        <p>
        Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
        <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If you don't specify
        either, Amazon EC2 will automatically apply optimal price protection to consistently select from a wide
        range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want
        to consider all instance types that match your attributes, include one of these parameters and specify a
        high value, such as <code>999999</code>.
        </p>
        </note>
        <p>
        Default: <code>100</code>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceRequirementsRequest.java