toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReplicationEndpointTypeValue.source:
      return 'source';
    case ReplicationEndpointTypeValue.target:
      return 'target';
  }
}