public void setRuleConditions()

in aliyun-java-sdk-alb/src/main/java/com/aliyuncs/alb/model/v20200616/UpdateRuleAttributeRequest.java [188:280]


	public void setRuleConditions(List<RuleConditions> ruleConditions) {
		this.ruleConditions = ruleConditions;	
		if (ruleConditions != null) {
			for (int depth1 = 0; depth1 < ruleConditions.size(); depth1++) {
				if (ruleConditions.get(depth1) != null) {
					
						if (ruleConditions.get(depth1).getMethodConfig() != null) {
							
								if (ruleConditions.get(depth1).getMethodConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getMethodConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".MethodConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getMethodConfig().getValues().get(depth2));
									}
								}
						}
						if (ruleConditions.get(depth1).getSourceIpConfig() != null) {
							
								if (ruleConditions.get(depth1).getSourceIpConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getSourceIpConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".SourceIpConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getSourceIpConfig().getValues().get(depth2));
									}
								}
						}
						if (ruleConditions.get(depth1).getHostConfig() != null) {
							
								if (ruleConditions.get(depth1).getHostConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getHostConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".HostConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getHostConfig().getValues().get(depth2));
									}
								}
						}
						if (ruleConditions.get(depth1).getQueryStringConfig() != null) {
							
								if (ruleConditions.get(depth1).getQueryStringConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getQueryStringConfig().getValues().size(); depth2++) {
										if (ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2) != null) {
											
												putQueryParameter("RuleConditions." + (depth1 + 1) + ".QueryStringConfig.Values." + (depth2 + 1) + ".Value" , ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2).getValue());
												putQueryParameter("RuleConditions." + (depth1 + 1) + ".QueryStringConfig.Values." + (depth2 + 1) + ".Key" , ruleConditions.get(depth1).getQueryStringConfig().getValues().get(depth2).getKey());
										}
									}
								}
						}
						if (ruleConditions.get(depth1).getResponseStatusCodeConfig() != null) {
							
								if (ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseStatusCodeConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getResponseStatusCodeConfig().getValues().get(depth2));
									}
								}
						}
						if (ruleConditions.get(depth1).getPathConfig() != null) {
							
								if (ruleConditions.get(depth1).getPathConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getPathConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".PathConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getPathConfig().getValues().get(depth2));
									}
								}
						}
						if (ruleConditions.get(depth1).getCookieConfig() != null) {
							
								if (ruleConditions.get(depth1).getCookieConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getCookieConfig().getValues().size(); depth2++) {
										if (ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2) != null) {
											
												putQueryParameter("RuleConditions." + (depth1 + 1) + ".CookieConfig.Values." + (depth2 + 1) + ".Value" , ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2).getValue());
												putQueryParameter("RuleConditions." + (depth1 + 1) + ".CookieConfig.Values." + (depth2 + 1) + ".Key" , ruleConditions.get(depth1).getCookieConfig().getValues().get(depth2).getKey());
										}
									}
								}
						}
						putQueryParameter("RuleConditions." + (depth1 + 1) + ".Type" , ruleConditions.get(depth1).getType());
						if (ruleConditions.get(depth1).getHeaderConfig() != null) {
							
								if (ruleConditions.get(depth1).getHeaderConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getHeaderConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".HeaderConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getHeaderConfig().getValues().get(depth2));
									}
								}
								putQueryParameter("RuleConditions." + (depth1 + 1) + ".HeaderConfig.Key" , ruleConditions.get(depth1).getHeaderConfig().getKey());
						}
						if (ruleConditions.get(depth1).getResponseHeaderConfig() != null) {
							
								if (ruleConditions.get(depth1).getResponseHeaderConfig().getValues() != null) {
									for (int depth2 = 0; depth2 < ruleConditions.get(depth1).getResponseHeaderConfig().getValues().size(); depth2++) {
										putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseHeaderConfig.Values." + (depth2 + 1) , ruleConditions.get(depth1).getResponseHeaderConfig().getValues().get(depth2));
									}
								}
								putQueryParameter("RuleConditions." + (depth1 + 1) + ".ResponseHeaderConfig.Key" , ruleConditions.get(depth1).getResponseHeaderConfig().getKey());
						}
				}
			}
		}	
	}