toValue method
Implementation
String toValue() {
switch (this) {
case CloudWatchRegion.usEast_1:
return 'us-east-1';
case CloudWatchRegion.usEast_2:
return 'us-east-2';
case CloudWatchRegion.usWest_1:
return 'us-west-1';
case CloudWatchRegion.usWest_2:
return 'us-west-2';
case CloudWatchRegion.caCentral_1:
return 'ca-central-1';
case CloudWatchRegion.euCentral_1:
return 'eu-central-1';
case CloudWatchRegion.euWest_1:
return 'eu-west-1';
case CloudWatchRegion.euWest_2:
return 'eu-west-2';
case CloudWatchRegion.euWest_3:
return 'eu-west-3';
case CloudWatchRegion.apEast_1:
return 'ap-east-1';
case CloudWatchRegion.meSouth_1:
return 'me-south-1';
case CloudWatchRegion.apSouth_1:
return 'ap-south-1';
case CloudWatchRegion.apSoutheast_1:
return 'ap-southeast-1';
case CloudWatchRegion.apSoutheast_2:
return 'ap-southeast-2';
case CloudWatchRegion.apNortheast_1:
return 'ap-northeast-1';
case CloudWatchRegion.apNortheast_2:
return 'ap-northeast-2';
case CloudWatchRegion.apNortheast_3:
return 'ap-northeast-3';
case CloudWatchRegion.euNorth_1:
return 'eu-north-1';
case CloudWatchRegion.saEast_1:
return 'sa-east-1';
case CloudWatchRegion.cnNorthwest_1:
return 'cn-northwest-1';
case CloudWatchRegion.cnNorth_1:
return 'cn-north-1';
case CloudWatchRegion.afSouth_1:
return 'af-south-1';
case CloudWatchRegion.euSouth_1:
return 'eu-south-1';
case CloudWatchRegion.usGovWest_1:
return 'us-gov-west-1';
case CloudWatchRegion.usGovEast_1:
return 'us-gov-east-1';
case CloudWatchRegion.usIsoEast_1:
return 'us-iso-east-1';
case CloudWatchRegion.usIsobEast_1:
return 'us-isob-east-1';
}
}