public KeyPair getKeyPair() {
        return this.keyPair;
    }
<p>
Describes a key pair.
</p>

@return Describes a key pair.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateKeyPairResult.java