toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ResourceType.containerService:
      return 'ContainerService';
    case ResourceType.instance:
      return 'Instance';
    case ResourceType.staticIp:
      return 'StaticIp';
    case ResourceType.keyPair:
      return 'KeyPair';
    case ResourceType.instanceSnapshot:
      return 'InstanceSnapshot';
    case ResourceType.domain:
      return 'Domain';
    case ResourceType.peeredVpc:
      return 'PeeredVpc';
    case ResourceType.loadBalancer:
      return 'LoadBalancer';
    case ResourceType.loadBalancerTlsCertificate:
      return 'LoadBalancerTlsCertificate';
    case ResourceType.disk:
      return 'Disk';
    case ResourceType.diskSnapshot:
      return 'DiskSnapshot';
    case ResourceType.relationalDatabase:
      return 'RelationalDatabase';
    case ResourceType.relationalDatabaseSnapshot:
      return 'RelationalDatabaseSnapshot';
    case ResourceType.exportSnapshotRecord:
      return 'ExportSnapshotRecord';
    case ResourceType.cloudFormationStackRecord:
      return 'CloudFormationStackRecord';
    case ResourceType.alarm:
      return 'Alarm';
    case ResourceType.contactMethod:
      return 'ContactMethod';
    case ResourceType.distribution:
      return 'Distribution';
    case ResourceType.certificate:
      return 'Certificate';
  }
}