public PrivateKeyAttributesV3 withKeySpec(String keySpec) {
        setKeySpec(keySpec);
        return this;
    }
<p>
Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
</p>

@param keySpec
       Defines the purpose of the private key. Set it to "KEY_EXCHANGE" or "SIGNATURE" value.
@return Returns a reference to this object so that method calls can be chained together.
@see KeySpec
aws-java-sdk-pcaconnectorad/src/main/java/com/amazonaws/services/pcaconnectorad/model/PrivateKeyAttributesV3.java