Map<String, dynamic> toMap() { return <String, dynamic>{ 'attachmentArn': ?attachmentArn, 'clientIpPreservationEnabled': ?clientIpPreservationEnabled, 'endpointId': ?endpointId, 'weight': ?weight, }; }