public EnrollmentFlagsV2 withRemoveInvalidCertificateFromPersonalStore(Boolean removeInvalidCertificateFromPersonalStore) {
        setRemoveInvalidCertificateFromPersonalStore(removeInvalidCertificateFromPersonalStore);
        return this;
    }
<p>
Delete expired or revoked certificates instead of archiving them.
</p>

@param removeInvalidCertificateFromPersonalStore
       Delete expired or revoked certificates instead of archiving them.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/EnrollmentFlagsV2.java