toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EndpointType.public:
      return 'PUBLIC';
    case EndpointType.privateLink:
      return 'PRIVATE_LINK';
    case EndpointType.fips:
      return 'FIPS';
  }
}