public DestinationPortMapping withEndpointId(String endpointId) {
        setEndpointId(endpointId);
        return this;
    }
<p>
The ID for the virtual private cloud (VPC) subnet.
</p>

@param endpointId
       The ID for the virtual private cloud (VPC) subnet.
@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