EndPointDefinition is immutable