public CurrentInstance withInstanceName(String instanceName) {
        setInstanceName(instanceName);
        return this;
    }
<p>
The name that you given an instance. This field shows as blank if you haven't given the instance a name.
</p>

@param instanceName
       The name that you given an instance. This field shows as blank if you haven't given the instance a name.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costexplorer/src/main/java/com/amazonaws/services/costexplorer/model/CurrentInstance.java