public CreateKeyRequest withBypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck) {
        setBypassPolicyLockoutSafetyCheck(bypassPolicyLockoutSafetyCheck);
        return this;
    }
<p>
Skips ("bypasses") the key policy lockout safety check. The default value is false.
</p>
<important>
<p>
Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to
true indiscriminately.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key"
>Default key policy</a> in the <i>Key Management Service Developer Guide</i>.
</p>
</important>
<p>
Use this parameter only when you intend to prevent the principal that is making the request from making a
subsequent <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html">PutKeyPolicy</a>
request on the KMS key.
</p>

@param bypassPolicyLockoutSafetyCheck
       Skips ("bypasses") the key policy lockout safety check. The default value is false.</p> <important>
       <p>
       Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value
       to true indiscriminately.
       </p>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-default.html#prevent-unmanageable-key"
       >Default key policy</a> in the <i>Key Management Service Developer Guide</i>.
       </p>
       </important>
       <p>
       Use this parameter only when you intend to prevent the principal that is making the request from making a
       subsequent <a
       href="https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html">PutKeyPolicy</a> request
       on the KMS key.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CreateKeyRequest.java