public ReplaceRouteRequest withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId) {
        setEgressOnlyInternetGatewayId(egressOnlyInternetGatewayId);
        return this;
    }
<p>
[IPv6 traffic only] The ID of an egress-only internet gateway.
</p>

@param egressOnlyInternetGatewayId
       [IPv6 traffic only] The ID of an egress-only internet gateway.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ReplaceRouteRequest.java