All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.as.v20180419.models.LaunchConfiguration Maven / Gradle / Ivy

There is a newer version: 3.1.1077
Show newest version
/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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.tencentcloudapi.as.v20180419.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class LaunchConfiguration extends AbstractModel{

    /**
    * 实例所属项目ID。
    */
    @SerializedName("ProjectId")
    @Expose
    private Long ProjectId;

    /**
    * 启动配置ID。
    */
    @SerializedName("LaunchConfigurationId")
    @Expose
    private String LaunchConfigurationId;

    /**
    * 启动配置名称。
    */
    @SerializedName("LaunchConfigurationName")
    @Expose
    private String LaunchConfigurationName;

    /**
    * 实例机型。
    */
    @SerializedName("InstanceType")
    @Expose
    private String InstanceType;

    /**
    * 实例系统盘配置信息。
    */
    @SerializedName("SystemDisk")
    @Expose
    private SystemDisk SystemDisk;

    /**
    * 实例数据盘配置信息。
    */
    @SerializedName("DataDisks")
    @Expose
    private DataDisk [] DataDisks;

    /**
    * 实例登录设置。
    */
    @SerializedName("LoginSettings")
    @Expose
    private LimitedLoginSettings LoginSettings;

    /**
    * 公网带宽相关信息设置。
    */
    @SerializedName("InternetAccessible")
    @Expose
    private InternetAccessible InternetAccessible;

    /**
    * 实例所属安全组。
    */
    @SerializedName("SecurityGroupIds")
    @Expose
    private String [] SecurityGroupIds;

    /**
    * 启动配置关联的伸缩组。
    */
    @SerializedName("AutoScalingGroupAbstractSet")
    @Expose
    private AutoScalingGroupAbstract [] AutoScalingGroupAbstractSet;

    /**
    * 自定义数据。
注意:此字段可能返回 null,表示取不到有效值。
    */
    @SerializedName("UserData")
    @Expose
    private String UserData;

    /**
    * 启动配置创建时间。
    */
    @SerializedName("CreatedTime")
    @Expose
    private String CreatedTime;

    /**
    * 实例的增强服务启用情况与其设置。
    */
    @SerializedName("EnhancedService")
    @Expose
    private EnhancedService EnhancedService;

    /**
    * 镜像ID。
    */
    @SerializedName("ImageId")
    @Expose
    private String ImageId;

    /**
    * 启动配置当前状态。取值范围:
  • NORMAL:正常
  • IMAGE_ABNORMAL:启动配置镜像异常
  • CBS_SNAP_ABNORMAL:启动配置数据盘快照异常
  • SECURITY_GROUP_ABNORMAL:启动配置安全组异常
    */ @SerializedName("LaunchConfigurationStatus") @Expose private String LaunchConfigurationStatus; /** * 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
  • POSTPAID_BY_HOUR:按小时后付费
  • SPOTPAID:竞价付费 */ @SerializedName("InstanceChargeType") @Expose private String InstanceChargeType; /** * 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("InstanceMarketOptions") @Expose private InstanceMarketOptionsRequest InstanceMarketOptions; /** * 实例机型列表。 */ @SerializedName("InstanceTypes") @Expose private String [] InstanceTypes; /** * 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。 */ @SerializedName("InstanceTags") @Expose private InstanceTag [] InstanceTags; /** * 标签列表。 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("Tags") @Expose private Tag [] Tags; /** * 版本号。 */ @SerializedName("VersionNumber") @Expose private Long VersionNumber; /** * 更新时间。 */ @SerializedName("UpdatedTime") @Expose private String UpdatedTime; /** * CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。 */ @SerializedName("CamRoleName") @Expose private String CamRoleName; /** * 上次操作时,InstanceTypesCheckPolicy 取值。 */ @SerializedName("LastOperationInstanceTypesCheckPolicy") @Expose private String LastOperationInstanceTypesCheckPolicy; /** * 云服务器主机名(HostName)的相关设置。 */ @SerializedName("HostNameSettings") @Expose private HostNameSettings HostNameSettings; /** * 云服务器实例名(InstanceName)的相关设置。 */ @SerializedName("InstanceNameSettings") @Expose private InstanceNameSettings InstanceNameSettings; /** * 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 */ @SerializedName("InstanceChargePrepaid") @Expose private InstanceChargePrepaid InstanceChargePrepaid; /** * 云盘类型选择策略。取值范围:
  • ORIGINAL:使用设置的云盘类型
  • AUTOMATIC:自动选择当前可用区下可用的云盘类型 */ @SerializedName("DiskTypePolicy") @Expose private String DiskTypePolicy; /** * 高性能计算集群ID。
    注意:此字段默认为空。 */ @SerializedName("HpcClusterId") @Expose private String HpcClusterId; /** * IPv6公网带宽相关信息设置。 */ @SerializedName("IPv6InternetAccessible") @Expose private IPv6InternetAccessible IPv6InternetAccessible; /** * Get 实例所属项目ID。 * @return ProjectId 实例所属项目ID。 */ public Long getProjectId() { return this.ProjectId; } /** * Set 实例所属项目ID。 * @param ProjectId 实例所属项目ID。 */ public void setProjectId(Long ProjectId) { this.ProjectId = ProjectId; } /** * Get 启动配置ID。 * @return LaunchConfigurationId 启动配置ID。 */ public String getLaunchConfigurationId() { return this.LaunchConfigurationId; } /** * Set 启动配置ID。 * @param LaunchConfigurationId 启动配置ID。 */ public void setLaunchConfigurationId(String LaunchConfigurationId) { this.LaunchConfigurationId = LaunchConfigurationId; } /** * Get 启动配置名称。 * @return LaunchConfigurationName 启动配置名称。 */ public String getLaunchConfigurationName() { return this.LaunchConfigurationName; } /** * Set 启动配置名称。 * @param LaunchConfigurationName 启动配置名称。 */ public void setLaunchConfigurationName(String LaunchConfigurationName) { this.LaunchConfigurationName = LaunchConfigurationName; } /** * Get 实例机型。 * @return InstanceType 实例机型。 */ public String getInstanceType() { return this.InstanceType; } /** * Set 实例机型。 * @param InstanceType 实例机型。 */ public void setInstanceType(String InstanceType) { this.InstanceType = InstanceType; } /** * Get 实例系统盘配置信息。 * @return SystemDisk 实例系统盘配置信息。 */ public SystemDisk getSystemDisk() { return this.SystemDisk; } /** * Set 实例系统盘配置信息。 * @param SystemDisk 实例系统盘配置信息。 */ public void setSystemDisk(SystemDisk SystemDisk) { this.SystemDisk = SystemDisk; } /** * Get 实例数据盘配置信息。 * @return DataDisks 实例数据盘配置信息。 */ public DataDisk [] getDataDisks() { return this.DataDisks; } /** * Set 实例数据盘配置信息。 * @param DataDisks 实例数据盘配置信息。 */ public void setDataDisks(DataDisk [] DataDisks) { this.DataDisks = DataDisks; } /** * Get 实例登录设置。 * @return LoginSettings 实例登录设置。 */ public LimitedLoginSettings getLoginSettings() { return this.LoginSettings; } /** * Set 实例登录设置。 * @param LoginSettings 实例登录设置。 */ public void setLoginSettings(LimitedLoginSettings LoginSettings) { this.LoginSettings = LoginSettings; } /** * Get 公网带宽相关信息设置。 * @return InternetAccessible 公网带宽相关信息设置。 */ public InternetAccessible getInternetAccessible() { return this.InternetAccessible; } /** * Set 公网带宽相关信息设置。 * @param InternetAccessible 公网带宽相关信息设置。 */ public void setInternetAccessible(InternetAccessible InternetAccessible) { this.InternetAccessible = InternetAccessible; } /** * Get 实例所属安全组。 * @return SecurityGroupIds 实例所属安全组。 */ public String [] getSecurityGroupIds() { return this.SecurityGroupIds; } /** * Set 实例所属安全组。 * @param SecurityGroupIds 实例所属安全组。 */ public void setSecurityGroupIds(String [] SecurityGroupIds) { this.SecurityGroupIds = SecurityGroupIds; } /** * Get 启动配置关联的伸缩组。 * @return AutoScalingGroupAbstractSet 启动配置关联的伸缩组。 */ public AutoScalingGroupAbstract [] getAutoScalingGroupAbstractSet() { return this.AutoScalingGroupAbstractSet; } /** * Set 启动配置关联的伸缩组。 * @param AutoScalingGroupAbstractSet 启动配置关联的伸缩组。 */ public void setAutoScalingGroupAbstractSet(AutoScalingGroupAbstract [] AutoScalingGroupAbstractSet) { this.AutoScalingGroupAbstractSet = AutoScalingGroupAbstractSet; } /** * Get 自定义数据。 注意:此字段可能返回 null,表示取不到有效值。 * @return UserData 自定义数据。 注意:此字段可能返回 null,表示取不到有效值。 */ public String getUserData() { return this.UserData; } /** * Set 自定义数据。 注意:此字段可能返回 null,表示取不到有效值。 * @param UserData 自定义数据。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setUserData(String UserData) { this.UserData = UserData; } /** * Get 启动配置创建时间。 * @return CreatedTime 启动配置创建时间。 */ public String getCreatedTime() { return this.CreatedTime; } /** * Set 启动配置创建时间。 * @param CreatedTime 启动配置创建时间。 */ public void setCreatedTime(String CreatedTime) { this.CreatedTime = CreatedTime; } /** * Get 实例的增强服务启用情况与其设置。 * @return EnhancedService 实例的增强服务启用情况与其设置。 */ public EnhancedService getEnhancedService() { return this.EnhancedService; } /** * Set 实例的增强服务启用情况与其设置。 * @param EnhancedService 实例的增强服务启用情况与其设置。 */ public void setEnhancedService(EnhancedService EnhancedService) { this.EnhancedService = EnhancedService; } /** * Get 镜像ID。 * @return ImageId 镜像ID。 */ public String getImageId() { return this.ImageId; } /** * Set 镜像ID。 * @param ImageId 镜像ID。 */ public void setImageId(String ImageId) { this.ImageId = ImageId; } /** * Get 启动配置当前状态。取值范围:
  • NORMAL:正常
  • IMAGE_ABNORMAL:启动配置镜像异常
  • CBS_SNAP_ABNORMAL:启动配置数据盘快照异常
  • SECURITY_GROUP_ABNORMAL:启动配置安全组异常
    * @return LaunchConfigurationStatus 启动配置当前状态。取值范围:
  • NORMAL:正常
  • IMAGE_ABNORMAL:启动配置镜像异常
  • CBS_SNAP_ABNORMAL:启动配置数据盘快照异常
  • SECURITY_GROUP_ABNORMAL:启动配置安全组异常
    */ public String getLaunchConfigurationStatus() { return this.LaunchConfigurationStatus; } /** * Set 启动配置当前状态。取值范围:
  • NORMAL:正常
  • IMAGE_ABNORMAL:启动配置镜像异常
  • CBS_SNAP_ABNORMAL:启动配置数据盘快照异常
  • SECURITY_GROUP_ABNORMAL:启动配置安全组异常
    * @param LaunchConfigurationStatus 启动配置当前状态。取值范围:
  • NORMAL:正常
  • IMAGE_ABNORMAL:启动配置镜像异常
  • CBS_SNAP_ABNORMAL:启动配置数据盘快照异常
  • SECURITY_GROUP_ABNORMAL:启动配置安全组异常
    */ public void setLaunchConfigurationStatus(String LaunchConfigurationStatus) { this.LaunchConfigurationStatus = LaunchConfigurationStatus; } /** * Get 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
  • POSTPAID_BY_HOUR:按小时后付费
  • SPOTPAID:竞价付费 * @return InstanceChargeType 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
  • POSTPAID_BY_HOUR:按小时后付费
  • SPOTPAID:竞价付费 */ public String getInstanceChargeType() { return this.InstanceChargeType; } /** * Set 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
  • POSTPAID_BY_HOUR:按小时后付费
  • SPOTPAID:竞价付费 * @param InstanceChargeType 实例计费类型,CVM默认值按照POSTPAID_BY_HOUR处理。
  • POSTPAID_BY_HOUR:按小时后付费
  • SPOTPAID:竞价付费 */ public void setInstanceChargeType(String InstanceChargeType) { this.InstanceChargeType = InstanceChargeType; } /** * Get 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。 注意:此字段可能返回 null,表示取不到有效值。 * @return InstanceMarketOptions 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。 注意:此字段可能返回 null,表示取不到有效值。 */ public InstanceMarketOptionsRequest getInstanceMarketOptions() { return this.InstanceMarketOptions; } /** * Set 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。 注意:此字段可能返回 null,表示取不到有效值。 * @param InstanceMarketOptions 实例的市场相关选项,如竞价实例相关参数,若指定实例的付费模式为竞价付费则该参数必传。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setInstanceMarketOptions(InstanceMarketOptionsRequest InstanceMarketOptions) { this.InstanceMarketOptions = InstanceMarketOptions; } /** * Get 实例机型列表。 * @return InstanceTypes 实例机型列表。 */ public String [] getInstanceTypes() { return this.InstanceTypes; } /** * Set 实例机型列表。 * @param InstanceTypes 实例机型列表。 */ public void setInstanceTypes(String [] InstanceTypes) { this.InstanceTypes = InstanceTypes; } /** * Get 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。 * @return InstanceTags 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。 */ public InstanceTag [] getInstanceTags() { return this.InstanceTags; } /** * Set 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。 * @param InstanceTags 实例标签列表。扩容出来的实例会自动带上标签,最多支持10个标签。 */ public void setInstanceTags(InstanceTag [] InstanceTags) { this.InstanceTags = InstanceTags; } /** * Get 标签列表。 注意:此字段可能返回 null,表示取不到有效值。 * @return Tags 标签列表。 注意:此字段可能返回 null,表示取不到有效值。 */ public Tag [] getTags() { return this.Tags; } /** * Set 标签列表。 注意:此字段可能返回 null,表示取不到有效值。 * @param Tags 标签列表。 注意:此字段可能返回 null,表示取不到有效值。 */ public void setTags(Tag [] Tags) { this.Tags = Tags; } /** * Get 版本号。 * @return VersionNumber 版本号。 */ public Long getVersionNumber() { return this.VersionNumber; } /** * Set 版本号。 * @param VersionNumber 版本号。 */ public void setVersionNumber(Long VersionNumber) { this.VersionNumber = VersionNumber; } /** * Get 更新时间。 * @return UpdatedTime 更新时间。 */ public String getUpdatedTime() { return this.UpdatedTime; } /** * Set 更新时间。 * @param UpdatedTime 更新时间。 */ public void setUpdatedTime(String UpdatedTime) { this.UpdatedTime = UpdatedTime; } /** * Get CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。 * @return CamRoleName CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。 */ public String getCamRoleName() { return this.CamRoleName; } /** * Set CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。 * @param CamRoleName CAM角色名称。可通过DescribeRoleList接口返回值中的roleName获取。 */ public void setCamRoleName(String CamRoleName) { this.CamRoleName = CamRoleName; } /** * Get 上次操作时,InstanceTypesCheckPolicy 取值。 * @return LastOperationInstanceTypesCheckPolicy 上次操作时,InstanceTypesCheckPolicy 取值。 */ public String getLastOperationInstanceTypesCheckPolicy() { return this.LastOperationInstanceTypesCheckPolicy; } /** * Set 上次操作时,InstanceTypesCheckPolicy 取值。 * @param LastOperationInstanceTypesCheckPolicy 上次操作时,InstanceTypesCheckPolicy 取值。 */ public void setLastOperationInstanceTypesCheckPolicy(String LastOperationInstanceTypesCheckPolicy) { this.LastOperationInstanceTypesCheckPolicy = LastOperationInstanceTypesCheckPolicy; } /** * Get 云服务器主机名(HostName)的相关设置。 * @return HostNameSettings 云服务器主机名(HostName)的相关设置。 */ public HostNameSettings getHostNameSettings() { return this.HostNameSettings; } /** * Set 云服务器主机名(HostName)的相关设置。 * @param HostNameSettings 云服务器主机名(HostName)的相关设置。 */ public void setHostNameSettings(HostNameSettings HostNameSettings) { this.HostNameSettings = HostNameSettings; } /** * Get 云服务器实例名(InstanceName)的相关设置。 * @return InstanceNameSettings 云服务器实例名(InstanceName)的相关设置。 */ public InstanceNameSettings getInstanceNameSettings() { return this.InstanceNameSettings; } /** * Set 云服务器实例名(InstanceName)的相关设置。 * @param InstanceNameSettings 云服务器实例名(InstanceName)的相关设置。 */ public void setInstanceNameSettings(InstanceNameSettings InstanceNameSettings) { this.InstanceNameSettings = InstanceNameSettings; } /** * Get 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 * @return InstanceChargePrepaid 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 */ public InstanceChargePrepaid getInstanceChargePrepaid() { return this.InstanceChargePrepaid; } /** * Set 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 * @param InstanceChargePrepaid 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。 */ public void setInstanceChargePrepaid(InstanceChargePrepaid InstanceChargePrepaid) { this.InstanceChargePrepaid = InstanceChargePrepaid; } /** * Get 云盘类型选择策略。取值范围:
  • ORIGINAL:使用设置的云盘类型
  • AUTOMATIC:自动选择当前可用区下可用的云盘类型 * @return DiskTypePolicy 云盘类型选择策略。取值范围:
  • ORIGINAL:使用设置的云盘类型
  • AUTOMATIC:自动选择当前可用区下可用的云盘类型 */ public String getDiskTypePolicy() { return this.DiskTypePolicy; } /** * Set 云盘类型选择策略。取值范围:
  • ORIGINAL:使用设置的云盘类型
  • AUTOMATIC:自动选择当前可用区下可用的云盘类型 * @param DiskTypePolicy 云盘类型选择策略。取值范围:
  • ORIGINAL:使用设置的云盘类型
  • AUTOMATIC:自动选择当前可用区下可用的云盘类型 */ public void setDiskTypePolicy(String DiskTypePolicy) { this.DiskTypePolicy = DiskTypePolicy; } /** * Get 高性能计算集群ID。
    注意:此字段默认为空。 * @return HpcClusterId 高性能计算集群ID。
    注意:此字段默认为空。 */ public String getHpcClusterId() { return this.HpcClusterId; } /** * Set 高性能计算集群ID。
    注意:此字段默认为空。 * @param HpcClusterId 高性能计算集群ID。
    注意:此字段默认为空。 */ public void setHpcClusterId(String HpcClusterId) { this.HpcClusterId = HpcClusterId; } /** * Get IPv6公网带宽相关信息设置。 * @return IPv6InternetAccessible IPv6公网带宽相关信息设置。 */ public IPv6InternetAccessible getIPv6InternetAccessible() { return this.IPv6InternetAccessible; } /** * Set IPv6公网带宽相关信息设置。 * @param IPv6InternetAccessible IPv6公网带宽相关信息设置。 */ public void setIPv6InternetAccessible(IPv6InternetAccessible IPv6InternetAccessible) { this.IPv6InternetAccessible = IPv6InternetAccessible; } public LaunchConfiguration() { } /** * NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, * and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. */ public LaunchConfiguration(LaunchConfiguration source) { if (source.ProjectId != null) { this.ProjectId = new Long(source.ProjectId); } if (source.LaunchConfigurationId != null) { this.LaunchConfigurationId = new String(source.LaunchConfigurationId); } if (source.LaunchConfigurationName != null) { this.LaunchConfigurationName = new String(source.LaunchConfigurationName); } if (source.InstanceType != null) { this.InstanceType = new String(source.InstanceType); } if (source.SystemDisk != null) { this.SystemDisk = new SystemDisk(source.SystemDisk); } if (source.DataDisks != null) { this.DataDisks = new DataDisk[source.DataDisks.length]; for (int i = 0; i < source.DataDisks.length; i++) { this.DataDisks[i] = new DataDisk(source.DataDisks[i]); } } if (source.LoginSettings != null) { this.LoginSettings = new LimitedLoginSettings(source.LoginSettings); } if (source.InternetAccessible != null) { this.InternetAccessible = new InternetAccessible(source.InternetAccessible); } if (source.SecurityGroupIds != null) { this.SecurityGroupIds = new String[source.SecurityGroupIds.length]; for (int i = 0; i < source.SecurityGroupIds.length; i++) { this.SecurityGroupIds[i] = new String(source.SecurityGroupIds[i]); } } if (source.AutoScalingGroupAbstractSet != null) { this.AutoScalingGroupAbstractSet = new AutoScalingGroupAbstract[source.AutoScalingGroupAbstractSet.length]; for (int i = 0; i < source.AutoScalingGroupAbstractSet.length; i++) { this.AutoScalingGroupAbstractSet[i] = new AutoScalingGroupAbstract(source.AutoScalingGroupAbstractSet[i]); } } if (source.UserData != null) { this.UserData = new String(source.UserData); } if (source.CreatedTime != null) { this.CreatedTime = new String(source.CreatedTime); } if (source.EnhancedService != null) { this.EnhancedService = new EnhancedService(source.EnhancedService); } if (source.ImageId != null) { this.ImageId = new String(source.ImageId); } if (source.LaunchConfigurationStatus != null) { this.LaunchConfigurationStatus = new String(source.LaunchConfigurationStatus); } if (source.InstanceChargeType != null) { this.InstanceChargeType = new String(source.InstanceChargeType); } if (source.InstanceMarketOptions != null) { this.InstanceMarketOptions = new InstanceMarketOptionsRequest(source.InstanceMarketOptions); } if (source.InstanceTypes != null) { this.InstanceTypes = new String[source.InstanceTypes.length]; for (int i = 0; i < source.InstanceTypes.length; i++) { this.InstanceTypes[i] = new String(source.InstanceTypes[i]); } } if (source.InstanceTags != null) { this.InstanceTags = new InstanceTag[source.InstanceTags.length]; for (int i = 0; i < source.InstanceTags.length; i++) { this.InstanceTags[i] = new InstanceTag(source.InstanceTags[i]); } } if (source.Tags != null) { this.Tags = new Tag[source.Tags.length]; for (int i = 0; i < source.Tags.length; i++) { this.Tags[i] = new Tag(source.Tags[i]); } } if (source.VersionNumber != null) { this.VersionNumber = new Long(source.VersionNumber); } if (source.UpdatedTime != null) { this.UpdatedTime = new String(source.UpdatedTime); } if (source.CamRoleName != null) { this.CamRoleName = new String(source.CamRoleName); } if (source.LastOperationInstanceTypesCheckPolicy != null) { this.LastOperationInstanceTypesCheckPolicy = new String(source.LastOperationInstanceTypesCheckPolicy); } if (source.HostNameSettings != null) { this.HostNameSettings = new HostNameSettings(source.HostNameSettings); } if (source.InstanceNameSettings != null) { this.InstanceNameSettings = new InstanceNameSettings(source.InstanceNameSettings); } if (source.InstanceChargePrepaid != null) { this.InstanceChargePrepaid = new InstanceChargePrepaid(source.InstanceChargePrepaid); } if (source.DiskTypePolicy != null) { this.DiskTypePolicy = new String(source.DiskTypePolicy); } if (source.HpcClusterId != null) { this.HpcClusterId = new String(source.HpcClusterId); } if (source.IPv6InternetAccessible != null) { this.IPv6InternetAccessible = new IPv6InternetAccessible(source.IPv6InternetAccessible); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "ProjectId", this.ProjectId); this.setParamSimple(map, prefix + "LaunchConfigurationId", this.LaunchConfigurationId); this.setParamSimple(map, prefix + "LaunchConfigurationName", this.LaunchConfigurationName); this.setParamSimple(map, prefix + "InstanceType", this.InstanceType); this.setParamObj(map, prefix + "SystemDisk.", this.SystemDisk); this.setParamArrayObj(map, prefix + "DataDisks.", this.DataDisks); this.setParamObj(map, prefix + "LoginSettings.", this.LoginSettings); this.setParamObj(map, prefix + "InternetAccessible.", this.InternetAccessible); this.setParamArraySimple(map, prefix + "SecurityGroupIds.", this.SecurityGroupIds); this.setParamArrayObj(map, prefix + "AutoScalingGroupAbstractSet.", this.AutoScalingGroupAbstractSet); this.setParamSimple(map, prefix + "UserData", this.UserData); this.setParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.setParamObj(map, prefix + "EnhancedService.", this.EnhancedService); this.setParamSimple(map, prefix + "ImageId", this.ImageId); this.setParamSimple(map, prefix + "LaunchConfigurationStatus", this.LaunchConfigurationStatus); this.setParamSimple(map, prefix + "InstanceChargeType", this.InstanceChargeType); this.setParamObj(map, prefix + "InstanceMarketOptions.", this.InstanceMarketOptions); this.setParamArraySimple(map, prefix + "InstanceTypes.", this.InstanceTypes); this.setParamArrayObj(map, prefix + "InstanceTags.", this.InstanceTags); this.setParamArrayObj(map, prefix + "Tags.", this.Tags); this.setParamSimple(map, prefix + "VersionNumber", this.VersionNumber); this.setParamSimple(map, prefix + "UpdatedTime", this.UpdatedTime); this.setParamSimple(map, prefix + "CamRoleName", this.CamRoleName); this.setParamSimple(map, prefix + "LastOperationInstanceTypesCheckPolicy", this.LastOperationInstanceTypesCheckPolicy); this.setParamObj(map, prefix + "HostNameSettings.", this.HostNameSettings); this.setParamObj(map, prefix + "InstanceNameSettings.", this.InstanceNameSettings); this.setParamObj(map, prefix + "InstanceChargePrepaid.", this.InstanceChargePrepaid); this.setParamSimple(map, prefix + "DiskTypePolicy", this.DiskTypePolicy); this.setParamSimple(map, prefix + "HpcClusterId", this.HpcClusterId); this.setParamObj(map, prefix + "IPv6InternetAccessible.", this.IPv6InternetAccessible); } }




  • © 2015 - 2024 Weber Informatics LLC | Privacy Policy