toFleetAttribute method
Implementation
FleetAttribute toFleetAttribute() {
switch (this) {
case 'VPC_CONFIGURATION':
return FleetAttribute.vpcConfiguration;
case 'VPC_CONFIGURATION_SECURITY_GROUP_IDS':
return FleetAttribute.vpcConfigurationSecurityGroupIds;
case 'DOMAIN_JOIN_INFO':
return FleetAttribute.domainJoinInfo;
case 'IAM_ROLE_ARN':
return FleetAttribute.iamRoleArn;
}
throw Exception('$this is not known in enum FleetAttribute');
}