toValue method
Implementation
String toValue() {
switch (this) {
case OutboundConnectionStatusCode.validating:
return 'VALIDATING';
case OutboundConnectionStatusCode.validationFailed:
return 'VALIDATION_FAILED';
case OutboundConnectionStatusCode.pendingAcceptance:
return 'PENDING_ACCEPTANCE';
case OutboundConnectionStatusCode.approved:
return 'APPROVED';
case OutboundConnectionStatusCode.provisioning:
return 'PROVISIONING';
case OutboundConnectionStatusCode.active:
return 'ACTIVE';
case OutboundConnectionStatusCode.rejecting:
return 'REJECTING';
case OutboundConnectionStatusCode.rejected:
return 'REJECTED';
case OutboundConnectionStatusCode.deleting:
return 'DELETING';
case OutboundConnectionStatusCode.deleted:
return 'DELETED';
}
}