toAssociationFilterKey method
Implementation
AssociationFilterKey toAssociationFilterKey() {
switch (this) {
case 'InstanceId':
return AssociationFilterKey.instanceId;
case 'Name':
return AssociationFilterKey.name;
case 'AssociationId':
return AssociationFilterKey.associationId;
case 'AssociationStatusName':
return AssociationFilterKey.associationStatusName;
case 'LastExecutedBefore':
return AssociationFilterKey.lastExecutedBefore;
case 'LastExecutedAfter':
return AssociationFilterKey.lastExecutedAfter;
case 'AssociationName':
return AssociationFilterKey.associationName;
case 'ResourceGroupName':
return AssociationFilterKey.resourceGroupName;
}
throw Exception('$this is not known in enum AssociationFilterKey');
}