com.aliyuncs.ecs.model.v20140526.CreateAutoProvisioningGroupRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-ecs Show documentation
Show all versions of aliyun-java-sdk-ecs Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.ecs.model.v20140526;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.ecs.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateAutoProvisioningGroupRequest extends RpcAcsRequest {
private List launchConfigurationDataDisks;
private Long resourceOwnerId;
private String launchConfigurationSystemDiskCategory;
private String autoProvisioningGroupType;
private String launchConfigurationSystemDiskPerformanceLevel;
private String resourceGroupId;
private String launchConfigurationImageId;
private String launchConfigurationResourceGroupId;
private String payAsYouGoAllocationStrategy;
private String defaultTargetCapacityType;
private String launchConfigurationKeyPairName;
private List systemDiskConfigs;
private List dataDiskConfigs;
private String validUntil;
private String launchTemplateId;
private Long ownerId;
private Integer launchConfigurationSystemDiskSize;
private Integer launchConfigurationInternetMaxBandwidthOut;
private String launchConfigurationHostName;
private Float maxSpotPrice;
private Boolean launchConfigurationPasswordInherit;
private String launchConfigurationSecurityGroupId;
private String description;
private Boolean terminateInstancesWithExpiration;
private String launchConfigurationUserData;
private String launchConfigurationCreditSpecification;
private String launchConfigurationInstanceName;
private String launchConfigurationInstanceDescription;
private String spotAllocationStrategy;
private Boolean terminateInstances;
private String launchConfigurationSystemDiskName;
private String launchConfigurationSystemDiskDescription;
private String excessCapacityTerminationPolicy;
private List launchTemplateConfigs;
private String launchConfigurationRamRoleName;
private Integer launchConfigurationInternetMaxBandwidthIn;
private String spotInstanceInterruptionBehavior;
private String launchConfigurationSecurityEnhancementStrategy;
private List launchConfigurationTags;
private String resourceOwnerAccount;
private String ownerAccount;
private Integer spotInstancePoolsToUseCount;
private String launchConfigurationInternetChargeType;
private String launchTemplateVersion;
private String launchConfigurationIoOptimized;
private String payAsYouGoTargetCapacity;
private String totalTargetCapacity;
private String spotTargetCapacity;
private String validFrom;
private String autoProvisioningGroupName;
public CreateAutoProvisioningGroupRequest() {
super("Ecs", "2014-05-26", "CreateAutoProvisioningGroup", "ecs");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public List getLaunchConfigurationDataDisks() {
return this.launchConfigurationDataDisks;
}
public void setLaunchConfigurationDataDisks(List launchConfigurationDataDisks) {
this.launchConfigurationDataDisks = launchConfigurationDataDisks;
if (launchConfigurationDataDisks != null) {
for (int depth1 = 0; depth1 < launchConfigurationDataDisks.size(); depth1++) {
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Size" , launchConfigurationDataDisks.get(depth1).getSize());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Category" , launchConfigurationDataDisks.get(depth1).getCategory());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".PerformanceLevel" , launchConfigurationDataDisks.get(depth1).getPerformanceLevel());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Device" , launchConfigurationDataDisks.get(depth1).getDevice());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".SnapshotId" , launchConfigurationDataDisks.get(depth1).getSnapshotId());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".DeleteWithInstance" , launchConfigurationDataDisks.get(depth1).getDeleteWithInstance());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Encrypted" , launchConfigurationDataDisks.get(depth1).getEncrypted());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".KmsKeyId" , launchConfigurationDataDisks.get(depth1).getKmsKeyId());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".DiskName" , launchConfigurationDataDisks.get(depth1).getDiskName());
putQueryParameter("LaunchConfiguration.DataDisk." + (depth1 + 1) + ".Description" , launchConfigurationDataDisks.get(depth1).getDescription());
}
}
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getLaunchConfigurationSystemDiskCategory() {
return this.launchConfigurationSystemDiskCategory;
}
public void setLaunchConfigurationSystemDiskCategory(String launchConfigurationSystemDiskCategory) {
this.launchConfigurationSystemDiskCategory = launchConfigurationSystemDiskCategory;
if(launchConfigurationSystemDiskCategory != null){
putQueryParameter("LaunchConfiguration.SystemDiskCategory", launchConfigurationSystemDiskCategory);
}
}
public String getAutoProvisioningGroupType() {
return this.autoProvisioningGroupType;
}
public void setAutoProvisioningGroupType(String autoProvisioningGroupType) {
this.autoProvisioningGroupType = autoProvisioningGroupType;
if(autoProvisioningGroupType != null){
putQueryParameter("AutoProvisioningGroupType", autoProvisioningGroupType);
}
}
public String getLaunchConfigurationSystemDiskPerformanceLevel() {
return this.launchConfigurationSystemDiskPerformanceLevel;
}
public void setLaunchConfigurationSystemDiskPerformanceLevel(String launchConfigurationSystemDiskPerformanceLevel) {
this.launchConfigurationSystemDiskPerformanceLevel = launchConfigurationSystemDiskPerformanceLevel;
if(launchConfigurationSystemDiskPerformanceLevel != null){
putQueryParameter("LaunchConfiguration.SystemDiskPerformanceLevel", launchConfigurationSystemDiskPerformanceLevel);
}
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}
public String getLaunchConfigurationImageId() {
return this.launchConfigurationImageId;
}
public void setLaunchConfigurationImageId(String launchConfigurationImageId) {
this.launchConfigurationImageId = launchConfigurationImageId;
if(launchConfigurationImageId != null){
putQueryParameter("LaunchConfiguration.ImageId", launchConfigurationImageId);
}
}
public String getLaunchConfigurationResourceGroupId() {
return this.launchConfigurationResourceGroupId;
}
public void setLaunchConfigurationResourceGroupId(String launchConfigurationResourceGroupId) {
this.launchConfigurationResourceGroupId = launchConfigurationResourceGroupId;
if(launchConfigurationResourceGroupId != null){
putQueryParameter("LaunchConfiguration.ResourceGroupId", launchConfigurationResourceGroupId);
}
}
public String getPayAsYouGoAllocationStrategy() {
return this.payAsYouGoAllocationStrategy;
}
public void setPayAsYouGoAllocationStrategy(String payAsYouGoAllocationStrategy) {
this.payAsYouGoAllocationStrategy = payAsYouGoAllocationStrategy;
if(payAsYouGoAllocationStrategy != null){
putQueryParameter("PayAsYouGoAllocationStrategy", payAsYouGoAllocationStrategy);
}
}
public String getDefaultTargetCapacityType() {
return this.defaultTargetCapacityType;
}
public void setDefaultTargetCapacityType(String defaultTargetCapacityType) {
this.defaultTargetCapacityType = defaultTargetCapacityType;
if(defaultTargetCapacityType != null){
putQueryParameter("DefaultTargetCapacityType", defaultTargetCapacityType);
}
}
public String getLaunchConfigurationKeyPairName() {
return this.launchConfigurationKeyPairName;
}
public void setLaunchConfigurationKeyPairName(String launchConfigurationKeyPairName) {
this.launchConfigurationKeyPairName = launchConfigurationKeyPairName;
if(launchConfigurationKeyPairName != null){
putQueryParameter("LaunchConfiguration.KeyPairName", launchConfigurationKeyPairName);
}
}
public List getSystemDiskConfigs() {
return this.systemDiskConfigs;
}
public void setSystemDiskConfigs(List systemDiskConfigs) {
this.systemDiskConfigs = systemDiskConfigs;
if (systemDiskConfigs != null) {
for (int depth1 = 0; depth1 < systemDiskConfigs.size(); depth1++) {
putQueryParameter("SystemDiskConfig." + (depth1 + 1) + ".DiskCategory" , systemDiskConfigs.get(depth1).getDiskCategory());
}
}
}
public List getDataDiskConfigs() {
return this.dataDiskConfigs;
}
public void setDataDiskConfigs(List dataDiskConfigs) {
this.dataDiskConfigs = dataDiskConfigs;
if (dataDiskConfigs != null) {
for (int depth1 = 0; depth1 < dataDiskConfigs.size(); depth1++) {
putQueryParameter("DataDiskConfig." + (depth1 + 1) + ".DiskCategory" , dataDiskConfigs.get(depth1).getDiskCategory());
}
}
}
public String getValidUntil() {
return this.validUntil;
}
public void setValidUntil(String validUntil) {
this.validUntil = validUntil;
if(validUntil != null){
putQueryParameter("ValidUntil", validUntil);
}
}
public String getLaunchTemplateId() {
return this.launchTemplateId;
}
public void setLaunchTemplateId(String launchTemplateId) {
this.launchTemplateId = launchTemplateId;
if(launchTemplateId != null){
putQueryParameter("LaunchTemplateId", launchTemplateId);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public Integer getLaunchConfigurationSystemDiskSize() {
return this.launchConfigurationSystemDiskSize;
}
public void setLaunchConfigurationSystemDiskSize(Integer launchConfigurationSystemDiskSize) {
this.launchConfigurationSystemDiskSize = launchConfigurationSystemDiskSize;
if(launchConfigurationSystemDiskSize != null){
putQueryParameter("LaunchConfiguration.SystemDiskSize", launchConfigurationSystemDiskSize.toString());
}
}
public Integer getLaunchConfigurationInternetMaxBandwidthOut() {
return this.launchConfigurationInternetMaxBandwidthOut;
}
public void setLaunchConfigurationInternetMaxBandwidthOut(Integer launchConfigurationInternetMaxBandwidthOut) {
this.launchConfigurationInternetMaxBandwidthOut = launchConfigurationInternetMaxBandwidthOut;
if(launchConfigurationInternetMaxBandwidthOut != null){
putQueryParameter("LaunchConfiguration.InternetMaxBandwidthOut", launchConfigurationInternetMaxBandwidthOut.toString());
}
}
public String getLaunchConfigurationHostName() {
return this.launchConfigurationHostName;
}
public void setLaunchConfigurationHostName(String launchConfigurationHostName) {
this.launchConfigurationHostName = launchConfigurationHostName;
if(launchConfigurationHostName != null){
putQueryParameter("LaunchConfiguration.HostName", launchConfigurationHostName);
}
}
public Float getMaxSpotPrice() {
return this.maxSpotPrice;
}
public void setMaxSpotPrice(Float maxSpotPrice) {
this.maxSpotPrice = maxSpotPrice;
if(maxSpotPrice != null){
putQueryParameter("MaxSpotPrice", maxSpotPrice.toString());
}
}
public Boolean getLaunchConfigurationPasswordInherit() {
return this.launchConfigurationPasswordInherit;
}
public void setLaunchConfigurationPasswordInherit(Boolean launchConfigurationPasswordInherit) {
this.launchConfigurationPasswordInherit = launchConfigurationPasswordInherit;
if(launchConfigurationPasswordInherit != null){
putQueryParameter("LaunchConfiguration.PasswordInherit", launchConfigurationPasswordInherit.toString());
}
}
public String getLaunchConfigurationSecurityGroupId() {
return this.launchConfigurationSecurityGroupId;
}
public void setLaunchConfigurationSecurityGroupId(String launchConfigurationSecurityGroupId) {
this.launchConfigurationSecurityGroupId = launchConfigurationSecurityGroupId;
if(launchConfigurationSecurityGroupId != null){
putQueryParameter("LaunchConfiguration.SecurityGroupId", launchConfigurationSecurityGroupId);
}
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}
public Boolean getTerminateInstancesWithExpiration() {
return this.terminateInstancesWithExpiration;
}
public void setTerminateInstancesWithExpiration(Boolean terminateInstancesWithExpiration) {
this.terminateInstancesWithExpiration = terminateInstancesWithExpiration;
if(terminateInstancesWithExpiration != null){
putQueryParameter("TerminateInstancesWithExpiration", terminateInstancesWithExpiration.toString());
}
}
public String getLaunchConfigurationUserData() {
return this.launchConfigurationUserData;
}
public void setLaunchConfigurationUserData(String launchConfigurationUserData) {
this.launchConfigurationUserData = launchConfigurationUserData;
if(launchConfigurationUserData != null){
putQueryParameter("LaunchConfiguration.UserData", launchConfigurationUserData);
}
}
public String getLaunchConfigurationCreditSpecification() {
return this.launchConfigurationCreditSpecification;
}
public void setLaunchConfigurationCreditSpecification(String launchConfigurationCreditSpecification) {
this.launchConfigurationCreditSpecification = launchConfigurationCreditSpecification;
if(launchConfigurationCreditSpecification != null){
putQueryParameter("LaunchConfiguration.CreditSpecification", launchConfigurationCreditSpecification);
}
}
public String getLaunchConfigurationInstanceName() {
return this.launchConfigurationInstanceName;
}
public void setLaunchConfigurationInstanceName(String launchConfigurationInstanceName) {
this.launchConfigurationInstanceName = launchConfigurationInstanceName;
if(launchConfigurationInstanceName != null){
putQueryParameter("LaunchConfiguration.InstanceName", launchConfigurationInstanceName);
}
}
public String getLaunchConfigurationInstanceDescription() {
return this.launchConfigurationInstanceDescription;
}
public void setLaunchConfigurationInstanceDescription(String launchConfigurationInstanceDescription) {
this.launchConfigurationInstanceDescription = launchConfigurationInstanceDescription;
if(launchConfigurationInstanceDescription != null){
putQueryParameter("LaunchConfiguration.InstanceDescription", launchConfigurationInstanceDescription);
}
}
public String getSpotAllocationStrategy() {
return this.spotAllocationStrategy;
}
public void setSpotAllocationStrategy(String spotAllocationStrategy) {
this.spotAllocationStrategy = spotAllocationStrategy;
if(spotAllocationStrategy != null){
putQueryParameter("SpotAllocationStrategy", spotAllocationStrategy);
}
}
public Boolean getTerminateInstances() {
return this.terminateInstances;
}
public void setTerminateInstances(Boolean terminateInstances) {
this.terminateInstances = terminateInstances;
if(terminateInstances != null){
putQueryParameter("TerminateInstances", terminateInstances.toString());
}
}
public String getLaunchConfigurationSystemDiskName() {
return this.launchConfigurationSystemDiskName;
}
public void setLaunchConfigurationSystemDiskName(String launchConfigurationSystemDiskName) {
this.launchConfigurationSystemDiskName = launchConfigurationSystemDiskName;
if(launchConfigurationSystemDiskName != null){
putQueryParameter("LaunchConfiguration.SystemDiskName", launchConfigurationSystemDiskName);
}
}
public String getLaunchConfigurationSystemDiskDescription() {
return this.launchConfigurationSystemDiskDescription;
}
public void setLaunchConfigurationSystemDiskDescription(String launchConfigurationSystemDiskDescription) {
this.launchConfigurationSystemDiskDescription = launchConfigurationSystemDiskDescription;
if(launchConfigurationSystemDiskDescription != null){
putQueryParameter("LaunchConfiguration.SystemDiskDescription", launchConfigurationSystemDiskDescription);
}
}
public String getExcessCapacityTerminationPolicy() {
return this.excessCapacityTerminationPolicy;
}
public void setExcessCapacityTerminationPolicy(String excessCapacityTerminationPolicy) {
this.excessCapacityTerminationPolicy = excessCapacityTerminationPolicy;
if(excessCapacityTerminationPolicy != null){
putQueryParameter("ExcessCapacityTerminationPolicy", excessCapacityTerminationPolicy);
}
}
public List getLaunchTemplateConfigs() {
return this.launchTemplateConfigs;
}
public void setLaunchTemplateConfigs(List launchTemplateConfigs) {
this.launchTemplateConfigs = launchTemplateConfigs;
if (launchTemplateConfigs != null) {
for (int depth1 = 0; depth1 < launchTemplateConfigs.size(); depth1++) {
putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".InstanceType" , launchTemplateConfigs.get(depth1).getInstanceType());
putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".MaxPrice" , launchTemplateConfigs.get(depth1).getMaxPrice());
putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".VSwitchId" , launchTemplateConfigs.get(depth1).getVSwitchId());
putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".WeightedCapacity" , launchTemplateConfigs.get(depth1).getWeightedCapacity());
putQueryParameter("LaunchTemplateConfig." + (depth1 + 1) + ".Priority" , launchTemplateConfigs.get(depth1).getPriority());
}
}
}
public String getLaunchConfigurationRamRoleName() {
return this.launchConfigurationRamRoleName;
}
public void setLaunchConfigurationRamRoleName(String launchConfigurationRamRoleName) {
this.launchConfigurationRamRoleName = launchConfigurationRamRoleName;
if(launchConfigurationRamRoleName != null){
putQueryParameter("LaunchConfiguration.RamRoleName", launchConfigurationRamRoleName);
}
}
public Integer getLaunchConfigurationInternetMaxBandwidthIn() {
return this.launchConfigurationInternetMaxBandwidthIn;
}
public void setLaunchConfigurationInternetMaxBandwidthIn(Integer launchConfigurationInternetMaxBandwidthIn) {
this.launchConfigurationInternetMaxBandwidthIn = launchConfigurationInternetMaxBandwidthIn;
if(launchConfigurationInternetMaxBandwidthIn != null){
putQueryParameter("LaunchConfiguration.InternetMaxBandwidthIn", launchConfigurationInternetMaxBandwidthIn.toString());
}
}
public String getSpotInstanceInterruptionBehavior() {
return this.spotInstanceInterruptionBehavior;
}
public void setSpotInstanceInterruptionBehavior(String spotInstanceInterruptionBehavior) {
this.spotInstanceInterruptionBehavior = spotInstanceInterruptionBehavior;
if(spotInstanceInterruptionBehavior != null){
putQueryParameter("SpotInstanceInterruptionBehavior", spotInstanceInterruptionBehavior);
}
}
public String getLaunchConfigurationSecurityEnhancementStrategy() {
return this.launchConfigurationSecurityEnhancementStrategy;
}
public void setLaunchConfigurationSecurityEnhancementStrategy(String launchConfigurationSecurityEnhancementStrategy) {
this.launchConfigurationSecurityEnhancementStrategy = launchConfigurationSecurityEnhancementStrategy;
if(launchConfigurationSecurityEnhancementStrategy != null){
putQueryParameter("LaunchConfiguration.SecurityEnhancementStrategy", launchConfigurationSecurityEnhancementStrategy);
}
}
public List getLaunchConfigurationTags() {
return this.launchConfigurationTags;
}
public void setLaunchConfigurationTags(List launchConfigurationTags) {
this.launchConfigurationTags = launchConfigurationTags;
if (launchConfigurationTags != null) {
for (int depth1 = 0; depth1 < launchConfigurationTags.size(); depth1++) {
putQueryParameter("LaunchConfiguration.Tag." + (depth1 + 1) + ".Key" , launchConfigurationTags.get(depth1).getKey());
putQueryParameter("LaunchConfiguration.Tag." + (depth1 + 1) + ".Value" , launchConfigurationTags.get(depth1).getValue());
}
}
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public void setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public void setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
if(ownerAccount != null){
putQueryParameter("OwnerAccount", ownerAccount);
}
}
public Integer getSpotInstancePoolsToUseCount() {
return this.spotInstancePoolsToUseCount;
}
public void setSpotInstancePoolsToUseCount(Integer spotInstancePoolsToUseCount) {
this.spotInstancePoolsToUseCount = spotInstancePoolsToUseCount;
if(spotInstancePoolsToUseCount != null){
putQueryParameter("SpotInstancePoolsToUseCount", spotInstancePoolsToUseCount.toString());
}
}
public String getLaunchConfigurationInternetChargeType() {
return this.launchConfigurationInternetChargeType;
}
public void setLaunchConfigurationInternetChargeType(String launchConfigurationInternetChargeType) {
this.launchConfigurationInternetChargeType = launchConfigurationInternetChargeType;
if(launchConfigurationInternetChargeType != null){
putQueryParameter("LaunchConfiguration.InternetChargeType", launchConfigurationInternetChargeType);
}
}
public String getLaunchTemplateVersion() {
return this.launchTemplateVersion;
}
public void setLaunchTemplateVersion(String launchTemplateVersion) {
this.launchTemplateVersion = launchTemplateVersion;
if(launchTemplateVersion != null){
putQueryParameter("LaunchTemplateVersion", launchTemplateVersion);
}
}
public String getLaunchConfigurationIoOptimized() {
return this.launchConfigurationIoOptimized;
}
public void setLaunchConfigurationIoOptimized(String launchConfigurationIoOptimized) {
this.launchConfigurationIoOptimized = launchConfigurationIoOptimized;
if(launchConfigurationIoOptimized != null){
putQueryParameter("LaunchConfiguration.IoOptimized", launchConfigurationIoOptimized);
}
}
public String getPayAsYouGoTargetCapacity() {
return this.payAsYouGoTargetCapacity;
}
public void setPayAsYouGoTargetCapacity(String payAsYouGoTargetCapacity) {
this.payAsYouGoTargetCapacity = payAsYouGoTargetCapacity;
if(payAsYouGoTargetCapacity != null){
putQueryParameter("PayAsYouGoTargetCapacity", payAsYouGoTargetCapacity);
}
}
public String getTotalTargetCapacity() {
return this.totalTargetCapacity;
}
public void setTotalTargetCapacity(String totalTargetCapacity) {
this.totalTargetCapacity = totalTargetCapacity;
if(totalTargetCapacity != null){
putQueryParameter("TotalTargetCapacity", totalTargetCapacity);
}
}
public String getSpotTargetCapacity() {
return this.spotTargetCapacity;
}
public void setSpotTargetCapacity(String spotTargetCapacity) {
this.spotTargetCapacity = spotTargetCapacity;
if(spotTargetCapacity != null){
putQueryParameter("SpotTargetCapacity", spotTargetCapacity);
}
}
public String getValidFrom() {
return this.validFrom;
}
public void setValidFrom(String validFrom) {
this.validFrom = validFrom;
if(validFrom != null){
putQueryParameter("ValidFrom", validFrom);
}
}
public String getAutoProvisioningGroupName() {
return this.autoProvisioningGroupName;
}
public void setAutoProvisioningGroupName(String autoProvisioningGroupName) {
this.autoProvisioningGroupName = autoProvisioningGroupName;
if(autoProvisioningGroupName != null){
putQueryParameter("AutoProvisioningGroupName", autoProvisioningGroupName);
}
}
public static class LaunchConfigurationDataDisk {
private Integer size;
private String category;
private String performanceLevel;
private String device;
private String snapshotId;
private Boolean deleteWithInstance;
private Boolean encrypted;
private String kmsKeyId;
private String diskName;
private String description;
public Integer getSize() {
return this.size;
}
public void setSize(Integer size) {
this.size = size;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getPerformanceLevel() {
return this.performanceLevel;
}
public void setPerformanceLevel(String performanceLevel) {
this.performanceLevel = performanceLevel;
}
public String getDevice() {
return this.device;
}
public void setDevice(String device) {
this.device = device;
}
public String getSnapshotId() {
return this.snapshotId;
}
public void setSnapshotId(String snapshotId) {
this.snapshotId = snapshotId;
}
public Boolean getDeleteWithInstance() {
return this.deleteWithInstance;
}
public void setDeleteWithInstance(Boolean deleteWithInstance) {
this.deleteWithInstance = deleteWithInstance;
}
public Boolean getEncrypted() {
return this.encrypted;
}
public void setEncrypted(Boolean encrypted) {
this.encrypted = encrypted;
}
public String getKmsKeyId() {
return this.kmsKeyId;
}
public void setKmsKeyId(String kmsKeyId) {
this.kmsKeyId = kmsKeyId;
}
public String getDiskName() {
return this.diskName;
}
public void setDiskName(String diskName) {
this.diskName = diskName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
}
public static class SystemDiskConfig {
private String diskCategory;
public String getDiskCategory() {
return this.diskCategory;
}
public void setDiskCategory(String diskCategory) {
this.diskCategory = diskCategory;
}
}
public static class DataDiskConfig {
private String diskCategory;
public String getDiskCategory() {
return this.diskCategory;
}
public void setDiskCategory(String diskCategory) {
this.diskCategory = diskCategory;
}
}
public static class LaunchTemplateConfig {
private String instanceType;
private Double maxPrice;
private String vSwitchId;
private Double weightedCapacity;
private Integer priority;
public String getInstanceType() {
return this.instanceType;
}
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
public Double getMaxPrice() {
return this.maxPrice;
}
public void setMaxPrice(Double maxPrice) {
this.maxPrice = maxPrice;
}
public String getVSwitchId() {
return this.vSwitchId;
}
public void setVSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
}
public Double getWeightedCapacity() {
return this.weightedCapacity;
}
public void setWeightedCapacity(Double weightedCapacity) {
this.weightedCapacity = weightedCapacity;
}
public Integer getPriority() {
return this.priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
}
public static class LaunchConfigurationTag {
private String key;
private String value;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
@Override
public Class getResponseClass() {
return CreateAutoProvisioningGroupResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy