public UpdateDevicePoolRequest withName(String name) {
        setName(name);
        return this;
    }
<p>
A string that represents the name of the device pool to update.
</p>

@param name
       A string that represents the name of the device pool to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/UpdateDevicePoolRequest.java