toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ContainerServiceDeploymentState.activating:
      return 'ACTIVATING';
    case ContainerServiceDeploymentState.active:
      return 'ACTIVE';
    case ContainerServiceDeploymentState.inactive:
      return 'INACTIVE';
    case ContainerServiceDeploymentState.failed:
      return 'FAILED';
  }
}