toValue method
Implementation
String toValue() {
switch (this) {
case FleetErrorCode.iamServiceRoleMissingEniDescribeAction:
return 'IAM_SERVICE_ROLE_MISSING_ENI_DESCRIBE_ACTION';
case FleetErrorCode.iamServiceRoleMissingEniCreateAction:
return 'IAM_SERVICE_ROLE_MISSING_ENI_CREATE_ACTION';
case FleetErrorCode.iamServiceRoleMissingEniDeleteAction:
return 'IAM_SERVICE_ROLE_MISSING_ENI_DELETE_ACTION';
case FleetErrorCode.networkInterfaceLimitExceeded:
return 'NETWORK_INTERFACE_LIMIT_EXCEEDED';
case FleetErrorCode.internalServiceError:
return 'INTERNAL_SERVICE_ERROR';
case FleetErrorCode.iamServiceRoleIsMissing:
return 'IAM_SERVICE_ROLE_IS_MISSING';
case FleetErrorCode.machineRoleIsMissing:
return 'MACHINE_ROLE_IS_MISSING';
case FleetErrorCode.stsDisabledInRegion:
return 'STS_DISABLED_IN_REGION';
case FleetErrorCode.subnetHasInsufficientIpAddresses:
return 'SUBNET_HAS_INSUFFICIENT_IP_ADDRESSES';
case FleetErrorCode.iamServiceRoleMissingDescribeSubnetAction:
return 'IAM_SERVICE_ROLE_MISSING_DESCRIBE_SUBNET_ACTION';
case FleetErrorCode.subnetNotFound:
return 'SUBNET_NOT_FOUND';
case FleetErrorCode.imageNotFound:
return 'IMAGE_NOT_FOUND';
case FleetErrorCode.invalidSubnetConfiguration:
return 'INVALID_SUBNET_CONFIGURATION';
case FleetErrorCode.securityGroupsNotFound:
return 'SECURITY_GROUPS_NOT_FOUND';
case FleetErrorCode.igwNotAttached:
return 'IGW_NOT_ATTACHED';
case FleetErrorCode.iamServiceRoleMissingDescribeSecurityGroupsAction:
return 'IAM_SERVICE_ROLE_MISSING_DESCRIBE_SECURITY_GROUPS_ACTION';
case FleetErrorCode.domainJoinErrorFileNotFound:
return 'DOMAIN_JOIN_ERROR_FILE_NOT_FOUND';
case FleetErrorCode.domainJoinErrorAccessDenied:
return 'DOMAIN_JOIN_ERROR_ACCESS_DENIED';
case FleetErrorCode.domainJoinErrorLogonFailure:
return 'DOMAIN_JOIN_ERROR_LOGON_FAILURE';
case FleetErrorCode.domainJoinErrorInvalidParameter:
return 'DOMAIN_JOIN_ERROR_INVALID_PARAMETER';
case FleetErrorCode.domainJoinErrorMoreData:
return 'DOMAIN_JOIN_ERROR_MORE_DATA';
case FleetErrorCode.domainJoinErrorNoSuchDomain:
return 'DOMAIN_JOIN_ERROR_NO_SUCH_DOMAIN';
case FleetErrorCode.domainJoinErrorNotSupported:
return 'DOMAIN_JOIN_ERROR_NOT_SUPPORTED';
case FleetErrorCode.domainJoinNerrInvalidWorkgroupName:
return 'DOMAIN_JOIN_NERR_INVALID_WORKGROUP_NAME';
case FleetErrorCode.domainJoinNerrWorkstationNotStarted:
return 'DOMAIN_JOIN_NERR_WORKSTATION_NOT_STARTED';
case FleetErrorCode.domainJoinErrorDsMachineAccountQuotaExceeded:
return 'DOMAIN_JOIN_ERROR_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED';
case FleetErrorCode.domainJoinNerrPasswordExpired:
return 'DOMAIN_JOIN_NERR_PASSWORD_EXPIRED';
case FleetErrorCode.domainJoinInternalServiceError:
return 'DOMAIN_JOIN_INTERNAL_SERVICE_ERROR';
}
}