toInstanceAccessControlAttributeConfigurationStatus method

InstanceAccessControlAttributeConfigurationStatus toInstanceAccessControlAttributeConfigurationStatus()

Implementation

InstanceAccessControlAttributeConfigurationStatus
    toInstanceAccessControlAttributeConfigurationStatus() {
  switch (this) {
    case 'ENABLED':
      return InstanceAccessControlAttributeConfigurationStatus.enabled;
    case 'CREATION_IN_PROGRESS':
      return InstanceAccessControlAttributeConfigurationStatus
          .creationInProgress;
    case 'CREATION_FAILED':
      return InstanceAccessControlAttributeConfigurationStatus.creationFailed;
  }
  throw Exception(
      '$this is not known in enum InstanceAccessControlAttributeConfigurationStatus');
}