public DestinationPortMapping withEndpointGroupArn(String endpointGroupArn) {
        setEndpointGroupArn(endpointGroupArn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the endpoint group.
</p>

@param endpointGroupArn
       The Amazon Resource Name (ARN) of the endpoint group.
@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/DestinationPortMapping.java