public ModifyInstanceProfileRequest withKmsKeyArn(String kmsKeyArn) {
        setKmsKeyArn(kmsKeyArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the instance
profile.
</p>
<p>
If you don't specify a value for the <code>KmsKeyArn</code> parameter, then DMS uses your default encryption key.
</p>
<p>
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has
a different default encryption key for each Amazon Web Services Region.
</p>

@param kmsKeyArn
       The Amazon Resource Name (ARN) of the KMS key that is used to encrypt the connection parameters for the
       instance profile.</p>
       <p>
       If you don't specify a value for the <code>KmsKeyArn</code> parameter, then DMS uses your default
       encryption key.
       </p>
       <p>
       KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services
       account has a different default encryption key for each Amazon Web Services Region.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ModifyInstanceProfileRequest.java