set autoscale policy on servers

@param autoscalePolicy autoscale policy
@param servers servers
@return OperationFuture wrapper for servers
339227
public OperationFuture<List<Server>> setAutoscalePolicyOnServer(
            AutoscalePolicy autoscalePolicy,
            Server... servers
    ) {
        return setAutoscalePolicyOnServer(autoscalePolicy, Arrays.asList(servers));
    }
880072
public void setOperations(java.util.Collection<BatchWriteOperation> operations) {
        if (operations == null) {
            this.operations = null;
            return;
        }

        this.operations = new java.util.ArrayList<BatchWriteOperation>(operations);
    }
383216
public static autoscalepolicy[] get_filtered(nitro_service service, String filter) throws Exception{
		autoscalepolicy obj = new autoscalepolicy();
		options option = new options();
		option.set_filter(filter);
		autoscalepolicy[] response = (autoscalepolicy[]) obj.getfiltered(service, option);
		return response;
	}
1067127
public AutoscalePolicyFilter names(String... names) {
        allItemsNotNull(names, "Autoscale policies names");

        predicate = predicate.and(combine(
            AutoscalePolicyMetadata::getName, in(names)
        ));

        return this;
    }
589764
public void setServerGroups(java.util.Collection<ServerGroup> serverGroups) {
        if (serverGroups == null) {
            this.serverGroups = null;
            return;
        }

        this.serverGroups = new java.util.ArrayList<ServerGroup>(serverGroups);
    }
250249
public static AmazonAutoScaling autoScaling(AWSCredentials credentials) {
    AmazonAutoScaling client = new AmazonAutoScalingClient(credentials);
    client.setEndpoint(System.getProperty(
        AwsPropertyKeys.AWS_AUTO_SCALING_END_POINT.getBundle(),
        "autoscaling.amazonaws.com"));
    return client;
  }
1354545
public java.util.List<AutoScalingInstanceDetails> getAutoScalingInstances() {
        if (autoScalingInstances == null) {
            autoScalingInstances = new com.amazonaws.internal.SdkInternalList<AutoScalingInstanceDetails>();
        }
        return autoScalingInstances;
    }
981059
public void setSslPolicies(java.util.Collection<SslPolicy> sslPolicies) {
        if (sslPolicies == null) {
            this.sslPolicies = null;
            return;
        }

        this.sslPolicies = new java.util.ArrayList<SslPolicy>(sslPolicies);
    }
807786
public static void setPolicy(Policy policy) {
    if (LOG.isDebugEnabled()) {
      LOG.debug("Setting Hadoop security policy");
    }
    Policy.setPolicy(policy);
  }
904241
public void setPolicyUsers(java.util.Collection<PolicyUser> policyUsers) {
        if (policyUsers == null) {
            this.policyUsers = null;
            return;
        }

        this.policyUsers = new com.amazonaws.internal.SdkInternalList<PolicyUser>(policyUsers);
    }
1006806
public void setPolicyAttributes(java.util.Collection<PolicyAttribute> policyAttributes) {
        if (policyAttributes == null) {
            this.policyAttributes = null;
            return;
        }

        this.policyAttributes = new com.amazonaws.internal.SdkInternalList<PolicyAttribute>(policyAttributes);
    }
320948
OperationFuture<List<Server>> restore(String groupId, Server... servers) {
        return restore(Arrays.asList(servers), groupId);
    }
535126
public OperationFuture<List<FirewallPolicy>> update(
            List<FirewallPolicy> firewallPolicyList,
            FirewallPolicyConfig config
    ) {
        firewallPolicyList.forEach(firewallPolicy -> update(firewallPolicy, config));

        return new OperationFuture<>(
            firewallPolicyList,
            new NoWaitingJobFuture()
        );
    }
72506
public OperationFuture<List<DataCenter>> claim(DataCenter... dataCenters) {
        return claim(Arrays.asList(dataCenters));
    }
930948
public void setServerCustomizers(
			Collection<? extends NettyServerCustomizer> serverCustomizers) {
		Assert.notNull(serverCustomizers, "ServerCustomizers must not be null");
		this.serverCustomizers = new ArrayList<>(serverCustomizers);
	}
980033
public OperationFuture<List<Server>> removeAutoscalePolicyOnServer(Server... servers) {
        return removeAutoscalePolicyOnServer(Arrays.asList(servers));
    }
951215
public void setPolicyRoles(java.util.Collection<PolicyRole> policyRoles) {
        if (policyRoles == null) {
            this.policyRoles = null;
            return;
        }

        this.policyRoles = new com.amazonaws.internal.SdkInternalList<PolicyRole>(policyRoles);
    }