public String getKeyOrigin() {
        return this.keyOrigin;
    }
<p>
The source of the key material for the specified KMS key.
</p>
<p>
When this value is <code>AWS_KMS</code>, KMS created the key material. When this value is <code>EXTERNAL</code>,
the key material was imported or the KMS key doesn't have any key material.
</p>
<p>
The only valid values for DeriveSharedSecret are <code>AWS_KMS</code> and <code>EXTERNAL</code>.
DeriveSharedSecret does not support KMS keys with a <code>KeyOrigin</code> value of <code>AWS_CLOUDHSM</code> or
<code>EXTERNAL_KEY_STORE</code>.
</p>

@return The source of the key material for the specified KMS key.</p>
        <p>
        When this value is <code>AWS_KMS</code>, KMS created the key material. When this value is
        <code>EXTERNAL</code>, the key material was imported or the KMS key doesn't have any key material.
        </p>
        <p>
        The only valid values for DeriveSharedSecret are <code>AWS_KMS</code> and <code>EXTERNAL</code>.
        DeriveSharedSecret does not support KMS keys with a <code>KeyOrigin</code> value of
        <code>AWS_CLOUDHSM</code> or <code>EXTERNAL_KEY_STORE</code>.
@see OriginType
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/DeriveSharedSecretResult.java