toValue method
Implementation
String toValue() {
switch (this) {
case TransitGatewayRegistrationState.pending:
return 'PENDING';
case TransitGatewayRegistrationState.available:
return 'AVAILABLE';
case TransitGatewayRegistrationState.deleting:
return 'DELETING';
case TransitGatewayRegistrationState.deleted:
return 'DELETED';
case TransitGatewayRegistrationState.failed:
return 'FAILED';
}
}