public TaskEphemeralStorage withKmsKeyId(String kmsKeyId) {
        setKmsKeyId(kmsKeyId);
        return this;
    }
<p>
Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
</p>

@param kmsKeyId
       Specify an Key Management Service key ID to encrypt the ephemeral storage for the task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/TaskEphemeralStorage.java