toValue method
Implementation
String toValue() {
switch (this) {
case IpAddressStatus.creating:
return 'CREATING';
case IpAddressStatus.failedCreation:
return 'FAILED_CREATION';
case IpAddressStatus.attaching:
return 'ATTACHING';
case IpAddressStatus.attached:
return 'ATTACHED';
case IpAddressStatus.remapDetaching:
return 'REMAP_DETACHING';
case IpAddressStatus.remapAttaching:
return 'REMAP_ATTACHING';
case IpAddressStatus.detaching:
return 'DETACHING';
case IpAddressStatus.failedResourceGone:
return 'FAILED_RESOURCE_GONE';
case IpAddressStatus.deleting:
return 'DELETING';
case IpAddressStatus.deleteFailedFasExpired:
return 'DELETE_FAILED_FAS_EXPIRED';
}
}