public EndpointSetting withUnits(String units) {
        setUnits(units);
        return this;
    }
<p>
The unit of measure for this endpoint setting.
</p>

@param units
       The unit of measure for this endpoint setting.
@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/EndpointSetting.java