toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.managedInstance:
      return 'ManagedInstance';
    case ResourceType.document:
      return 'Document';
    case ResourceType.eC2Instance:
      return 'EC2Instance';
  }
}