toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TimeToLiveStatus.enabling:
      return 'ENABLING';
    case TimeToLiveStatus.disabling:
      return 'DISABLING';
    case TimeToLiveStatus.enabled:
      return 'ENABLED';
    case TimeToLiveStatus.disabled:
      return 'DISABLED';
  }
}