public void setKeyPairSpec(String keyPairSpec) {
        this.keyPairSpec = keyPairSpec;
    }
<p>
The type of data key pair that was generated.
</p>

@param keyPairSpec
       The type of data key pair that was generated.
@see DataKeyPairSpec
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/GenerateDataKeyPairResult.java