public void setInstancePatternInfos()

in aliyun-java-sdk-ess/src/main/java/com/aliyuncs/ess/model/v20140828/CreateScalingConfigurationRequest.java [504:561]


	public void setInstancePatternInfos(List<InstancePatternInfo> instancePatternInfos) {
		this.instancePatternInfos = instancePatternInfos;	
		if (instancePatternInfos != null) {
			for (int depth1 = 0; depth1 < instancePatternInfos.size(); depth1++) {
				if (instancePatternInfos.get(depth1).getInstanceCategoriess() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getInstanceCategoriess().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".InstanceCategories." + (i + 1) , instancePatternInfos.get(depth1).getInstanceCategoriess().get(i));
					}
				}
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".Memory" , instancePatternInfos.get(depth1).getMemory());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MaximumCpuCoreCount" , instancePatternInfos.get(depth1).getMaximumCpuCoreCount());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MaxPrice" , instancePatternInfos.get(depth1).getMaxPrice());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumGpuAmount" , instancePatternInfos.get(depth1).getMinimumGpuAmount());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MaximumGpuAmount" , instancePatternInfos.get(depth1).getMaximumGpuAmount());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MaximumMemorySize" , instancePatternInfos.get(depth1).getMaximumMemorySize());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumInitialCredit" , instancePatternInfos.get(depth1).getMinimumInitialCredit());
				if (instancePatternInfos.get(depth1).getExcludedInstanceTypes() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getExcludedInstanceTypes().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".ExcludedInstanceType." + (i + 1) , instancePatternInfos.get(depth1).getExcludedInstanceTypes().get(i));
					}
				}
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumEniIpv6AddressQuantity" , instancePatternInfos.get(depth1).getMinimumEniIpv6AddressQuantity());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumEniPrivateIpAddressQuantity" , instancePatternInfos.get(depth1).getMinimumEniPrivateIpAddressQuantity());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".BurstablePerformance" , instancePatternInfos.get(depth1).getBurstablePerformance());
				if (instancePatternInfos.get(depth1).getPhysicalProcessorModelss() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getPhysicalProcessorModelss().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".PhysicalProcessorModels." + (i + 1) , instancePatternInfos.get(depth1).getPhysicalProcessorModelss().get(i));
					}
				}
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumCpuCoreCount" , instancePatternInfos.get(depth1).getMinimumCpuCoreCount());
				if (instancePatternInfos.get(depth1).getGpuSpecss() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getGpuSpecss().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".GpuSpecs." + (i + 1) , instancePatternInfos.get(depth1).getGpuSpecss().get(i));
					}
				}
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumEniQuantity" , instancePatternInfos.get(depth1).getMinimumEniQuantity());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumMemorySize" , instancePatternInfos.get(depth1).getMinimumMemorySize());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".Cores" , instancePatternInfos.get(depth1).getCores());
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".InstanceFamilyLevel" , instancePatternInfos.get(depth1).getInstanceFamilyLevel());
				if (instancePatternInfos.get(depth1).getInstanceTypeFamiliess() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getInstanceTypeFamiliess().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".InstanceTypeFamilies." + (i + 1) , instancePatternInfos.get(depth1).getInstanceTypeFamiliess().get(i));
					}
				}
				putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".MinimumBaselineCredit" , instancePatternInfos.get(depth1).getMinimumBaselineCredit());
				if (instancePatternInfos.get(depth1).getCpuArchitecturess() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getCpuArchitecturess().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".CpuArchitectures." + (i + 1) , instancePatternInfos.get(depth1).getCpuArchitecturess().get(i));
					}
				}
				if (instancePatternInfos.get(depth1).getArchitectures() != null) {
					for (int i = 0; i < instancePatternInfos.get(depth1).getArchitectures().size(); i++) {
						putQueryParameter("InstancePatternInfo." + (depth1 + 1) + ".Architecture." + (i + 1) , instancePatternInfos.get(depth1).getArchitectures().get(i));
					}
				}
			}
		}	
	}