public UpdateEndpointGroupResult withEndpointGroup(EndpointGroup endpointGroup) {
        setEndpointGroup(endpointGroup);
        return this;
    }
<p>
The information about the endpoint group that was updated.
</p>

@param endpointGroup
       The information about the endpoint group that was updated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/UpdateEndpointGroupResult.java