toValue method
Implementation
String toValue() {
switch (this) {
case EndpointType.public:
return 'PUBLIC';
case EndpointType.vpc:
return 'VPC';
case EndpointType.vpcEndpoint:
return 'VPC_ENDPOINT';
}
}
String toValue() {
switch (this) {
case EndpointType.public:
return 'PUBLIC';
case EndpointType.vpc:
return 'VPC';
case EndpointType.vpcEndpoint:
return 'VPC_ENDPOINT';
}
}