toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OutboundCrossClusterSearchConnectionStatusCode.pendingAcceptance:
      return 'PENDING_ACCEPTANCE';
    case OutboundCrossClusterSearchConnectionStatusCode.validating:
      return 'VALIDATING';
    case OutboundCrossClusterSearchConnectionStatusCode.validationFailed:
      return 'VALIDATION_FAILED';
    case OutboundCrossClusterSearchConnectionStatusCode.provisioning:
      return 'PROVISIONING';
    case OutboundCrossClusterSearchConnectionStatusCode.active:
      return 'ACTIVE';
    case OutboundCrossClusterSearchConnectionStatusCode.rejected:
      return 'REJECTED';
    case OutboundCrossClusterSearchConnectionStatusCode.deleting:
      return 'DELETING';
    case OutboundCrossClusterSearchConnectionStatusCode.deleted:
      return 'DELETED';
  }
}