toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FargateProfileStatus.creating:
      return 'CREATING';
    case FargateProfileStatus.active:
      return 'ACTIVE';
    case FargateProfileStatus.deleting:
      return 'DELETING';
    case FargateProfileStatus.createFailed:
      return 'CREATE_FAILED';
    case FargateProfileStatus.deleteFailed:
      return 'DELETE_FAILED';
  }
}