<p>
A list of "DatasetAction" objects.
</p>

@param actions
A list of "DatasetAction" objects.
335245
public void setActions(java.util.Collection<DatasetAction> actions) {
        if (actions == null) {
            this.actions = null;
            return;
        }

        this.actions = new java.util.ArrayList<DatasetAction>(actions);
    }
407651
public static void forEachMethod( final Object object, Class<?> clazz, final Class<? extends Annotation> annotation,
            final MethodAction action ) {
        forEachSuperClass( clazz, new ClassAction() {
            @Override
            public void act( Class<?> clazz ) throws Exception {
                for( Method method : clazz.getDeclaredMethods() ) {
                    if( method.isAnnotationPresent( annotation ) ) {
                        action.act( object, method );
                    }
                }
            }
        } );
    }
958292
public void setActivities(java.util.Collection<ActivityListItem> activities) {
        if (activities == null) {
            this.activities = null;
            return;
        }

        this.activities = new java.util.ArrayList<ActivityListItem>(activities);
    }
484534
public void setDataSources(java.util.Collection<DataSource> dataSources) {
        if (dataSources == null) {
            this.dataSources = null;
            return;
        }

        this.dataSources = new com.amazonaws.internal.SdkInternalList<DataSource>(dataSources);
    }
511655
public void forEach(@NotNull IntConsumer action) {
        while(iterator.hasNext()) {
            action.accept(iterator.nextInt());
        }
    }
232508
SortedSet<Action> findActions( String actionName, Properties properties ) {

		Pattern pattern = Pattern.compile( actionName + "\\.(\\d)+\\.(.*)", Pattern.CASE_INSENSITIVE );
		SortedSet<Action> result = new TreeSet<Action>( new ActionComparator());
		for( Map.Entry<Object,Object> entry : properties.entrySet()) {
			String key = String.valueOf( entry.getKey()).toLowerCase();
			Matcher m = pattern.matcher( key );
			if( ! m.matches())
				continue;

			int position = Integer.parseInt( m.group( 1 ));
			ActionType actionType = ActionType.which( m.group( 2 ));
			String parameter = String.valueOf( entry.getValue());
			result.add( new Action( position, actionType, parameter ));
		}

		return result;
	}
917777
public static void forEachSuperClass( Class<?> clazz, ClassAction action ) {
        try {
            action.act( clazz );
            Class<?> superclass = clazz.getSuperclass();
            if( superclass != null ) {
                forEachSuperClass( superclass, action );
            }
        } catch( Exception e ) {
            throw Throwables.propagate( e );
        }

    }
912395
public void setManagedActions(java.util.Collection<ManagedAction> managedActions) {
        if (managedActions == null) {
            this.managedActions = null;
            return;
        }

        this.managedActions = new com.amazonaws.internal.SdkInternalList<ManagedAction>(managedActions);
    }
682358
private static void addAction(@Nonnull Computer c, @Nonnull Action a) {
        try {
            c.addAction(a);
        } catch (UnsupportedOperationException x) {
            try {
                Field actionsF = Actionable.class.getDeclaredField("actions");
                actionsF.setAccessible(true);
                @SuppressWarnings("unchecked")
                List<Action> actions = (List) actionsF.get(c);
                actions.add(a);
            } catch (Exception x2) {
                LOGGER.log(Level.WARNING, null, x2);
            }
        }
    }
881192
public static Action composite(final Applicable... actions) {
        return new Action(input -> {
            for (Applicable action : actions) {
                action.apply(input);
            }

            return input;
        });
    }
1309561
public void setServiceActionSummaries(java.util.Collection<ServiceActionSummary> serviceActionSummaries) {
        if (serviceActionSummaries == null) {
            this.serviceActionSummaries = null;
            return;
        }

        this.serviceActionSummaries = new java.util.ArrayList<ServiceActionSummary>(serviceActionSummaries);
    }
30486
public boolean shouldSchedule(List<Action> actions) {
        List<ParametersAction> others = Util.filter(actions, ParametersAction.class);
        if (others.isEmpty()) {
            return !parameters.isEmpty();
        } else {
            // I don't think we need multiple ParametersActions, but let's be defensive
            Set<ParameterValue> params = new HashSet<>();
            for (ParametersAction other: others) {
                params.addAll(other.parameters);
            }
            return !params.equals(new HashSet<>(this.parameters));
        }
    }
1098935
def setActions( self, actions ):
        
        self.uiActionTREE.blockSignals(True)
        self.uiActionTREE.setUpdatesEnabled(False)
        
        self.uiActionTREE.clear()
        for action in actions:
            self.uiActionTREE.addTopLevelItem(ActionItem(action))
        
        self.uiActionTREE.sortByColumn(0, Qt.AscendingOrder)
        self.uiActionTREE.blockSignals(False)
        self.uiActionTREE.setUpdatesEnabled(True)
1332230
public void setDatasets(java.util.Collection<Dataset> datasets) {
        if (datasets == null) {
            this.datasets = null;
            return;
        }

        this.datasets = new com.amazonaws.internal.SdkInternalList<Dataset>(datasets);
    }
540537
public void setActionConfigurationProperties(java.util.Collection<ActionConfigurationProperty> actionConfigurationProperties) {
        if (actionConfigurationProperties == null) {
            this.actionConfigurationProperties = null;
            return;
        }

        this.actionConfigurationProperties = new java.util.ArrayList<ActionConfigurationProperty>(actionConfigurationProperties);
    }
531032
public void prependActionsToActionStateExecutionList(final Flow flow, final ActionState actionStateId, final String... actions) {
        prependActionsToActionStateExecutionList(flow, actionStateId.getId(), actions);
    }
676499
public StopFleetActionsRequest withActions(FleetAction... actions) {
        java.util.ArrayList<String> actionsCopy = new java.util.ArrayList<String>(actions.length);
        for (FleetAction value : actions) {
            actionsCopy.add(value.toString());
        }
        if (getActions() == null) {
            setActions(actionsCopy);
        } else {
            getActions().addAll(actionsCopy);
        }
        return this;
    }