
com.tencentcloudapi.gse.v20191112.models.CopyFleetRequest Maven / Gradle / Ivy
/*
* 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.gse.v20191112.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CopyFleetRequest extends AbstractModel{
/**
* 服务器舰队 Id
*/
@SerializedName("FleetId")
@Expose
private String FleetId;
/**
* 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
@SerializedName("CopyNumber")
@Expose
private Long CopyNumber;
/**
* 生成包 Id
*/
@SerializedName("AssetId")
@Expose
private String AssetId;
/**
* 描述,最小长度0,最大长度100
*/
@SerializedName("Description")
@Expose
private String Description;
/**
* 网络配置
*/
@SerializedName("InboundPermissions")
@Expose
private InboundPermission [] InboundPermissions;
/**
* 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
@SerializedName("InstanceType")
@Expose
private String InstanceType;
/**
* 服务器舰队类型,目前只支持ON_DEMAND类型
*/
@SerializedName("FleetType")
@Expose
private String FleetType;
/**
* 服务器舰队名称,最小长度1,最大长度50
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection
*/
@SerializedName("NewGameServerSessionProtectionPolicy")
@Expose
private String NewGameServerSessionProtectionPolicy;
/**
* 资源创建限制策略
*/
@SerializedName("ResourceCreationLimitPolicy")
@Expose
private ResourceCreationLimitPolicy ResourceCreationLimitPolicy;
/**
* 进程配置
*/
@SerializedName("RuntimeConfiguration")
@Expose
private RuntimeConfiguration RuntimeConfiguration;
/**
* 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效
*/
@SerializedName("GameServerSessionProtectionTimeLimit")
@Expose
private Long GameServerSessionProtectionTimeLimit;
/**
* 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED
*/
@SerializedName("SelectedScalingType")
@Expose
private String SelectedScalingType;
/**
* 是否选择云联网:CCN_SELECTED 或者 CCN_UNSELECTED;默认是 CCN_UNSELECTED
*/
@SerializedName("SelectedCcnType")
@Expose
private String SelectedCcnType;
/**
* 标签列表,最大长度50组
*/
@SerializedName("Tags")
@Expose
private Tag [] Tags;
/**
* 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位
*/
@SerializedName("SystemDiskInfo")
@Expose
private DiskInfo SystemDiskInfo;
/**
* 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位
*/
@SerializedName("DataDiskInfo")
@Expose
private DiskInfo [] DataDiskInfo;
/**
* 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED
*/
@SerializedName("SelectedTimerType")
@Expose
private String SelectedTimerType;
/**
* Get 服务器舰队 Id
* @return FleetId 服务器舰队 Id
*/
public String getFleetId() {
return this.FleetId;
}
/**
* Set 服务器舰队 Id
* @param FleetId 服务器舰队 Id
*/
public void setFleetId(String FleetId) {
this.FleetId = FleetId;
}
/**
* Get 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。
* @return CopyNumber 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
public Long getCopyNumber() {
return this.CopyNumber;
}
/**
* Set 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。
* @param CopyNumber 复制数量,最小值1,最大值为剩余配额,可以根据[获取用户配额](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
public void setCopyNumber(Long CopyNumber) {
this.CopyNumber = CopyNumber;
}
/**
* Get 生成包 Id
* @return AssetId 生成包 Id
*/
public String getAssetId() {
return this.AssetId;
}
/**
* Set 生成包 Id
* @param AssetId 生成包 Id
*/
public void setAssetId(String AssetId) {
this.AssetId = AssetId;
}
/**
* Get 描述,最小长度0,最大长度100
* @return Description 描述,最小长度0,最大长度100
*/
public String getDescription() {
return this.Description;
}
/**
* Set 描述,最小长度0,最大长度100
* @param Description 描述,最小长度0,最大长度100
*/
public void setDescription(String Description) {
this.Description = Description;
}
/**
* Get 网络配置
* @return InboundPermissions 网络配置
*/
public InboundPermission [] getInboundPermissions() {
return this.InboundPermissions;
}
/**
* Set 网络配置
* @param InboundPermissions 网络配置
*/
public void setInboundPermissions(InboundPermission [] InboundPermissions) {
this.InboundPermissions = InboundPermissions;
}
/**
* Get 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。
* @return InstanceType 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
public String getInstanceType() {
return this.InstanceType;
}
/**
* Set 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。
* @param InstanceType 服务器类型,参数根据[获取服务器实例类型列表](https://cloud.tencent.com/document/product/1165/48732)接口获取。
*/
public void setInstanceType(String InstanceType) {
this.InstanceType = InstanceType;
}
/**
* Get 服务器舰队类型,目前只支持ON_DEMAND类型
* @return FleetType 服务器舰队类型,目前只支持ON_DEMAND类型
*/
public String getFleetType() {
return this.FleetType;
}
/**
* Set 服务器舰队类型,目前只支持ON_DEMAND类型
* @param FleetType 服务器舰队类型,目前只支持ON_DEMAND类型
*/
public void setFleetType(String FleetType) {
this.FleetType = FleetType;
}
/**
* Get 服务器舰队名称,最小长度1,最大长度50
* @return Name 服务器舰队名称,最小长度1,最大长度50
*/
public String getName() {
return this.Name;
}
/**
* Set 服务器舰队名称,最小长度1,最大长度50
* @param Name 服务器舰队名称,最小长度1,最大长度50
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection
* @return NewGameServerSessionProtectionPolicy 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection
*/
public String getNewGameServerSessionProtectionPolicy() {
return this.NewGameServerSessionProtectionPolicy;
}
/**
* Set 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection
* @param NewGameServerSessionProtectionPolicy 保护策略:不保护NoProtection、完全保护FullProtection、时限保护TimeLimitProtection
*/
public void setNewGameServerSessionProtectionPolicy(String NewGameServerSessionProtectionPolicy) {
this.NewGameServerSessionProtectionPolicy = NewGameServerSessionProtectionPolicy;
}
/**
* Get 资源创建限制策略
* @return ResourceCreationLimitPolicy 资源创建限制策略
*/
public ResourceCreationLimitPolicy getResourceCreationLimitPolicy() {
return this.ResourceCreationLimitPolicy;
}
/**
* Set 资源创建限制策略
* @param ResourceCreationLimitPolicy 资源创建限制策略
*/
public void setResourceCreationLimitPolicy(ResourceCreationLimitPolicy ResourceCreationLimitPolicy) {
this.ResourceCreationLimitPolicy = ResourceCreationLimitPolicy;
}
/**
* Get 进程配置
* @return RuntimeConfiguration 进程配置
*/
public RuntimeConfiguration getRuntimeConfiguration() {
return this.RuntimeConfiguration;
}
/**
* Set 进程配置
* @param RuntimeConfiguration 进程配置
*/
public void setRuntimeConfiguration(RuntimeConfiguration RuntimeConfiguration) {
this.RuntimeConfiguration = RuntimeConfiguration;
}
/**
* Get 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效
* @return GameServerSessionProtectionTimeLimit 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效
*/
public Long getGameServerSessionProtectionTimeLimit() {
return this.GameServerSessionProtectionTimeLimit;
}
/**
* Set 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效
* @param GameServerSessionProtectionTimeLimit 时限保护超时时间,默认60分钟,最小值5,最大值1440;当NewGameSessionProtectionPolicy为TimeLimitProtection时参数有效
*/
public void setGameServerSessionProtectionTimeLimit(Long GameServerSessionProtectionTimeLimit) {
this.GameServerSessionProtectionTimeLimit = GameServerSessionProtectionTimeLimit;
}
/**
* Get 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED
* @return SelectedScalingType 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED
*/
public String getSelectedScalingType() {
return this.SelectedScalingType;
}
/**
* Set 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED
* @param SelectedScalingType 是否选择扩缩容:SCALING_SELECTED 或者 SCALING_UNSELECTED;默认是 SCALING_UNSELECTED
*/
public void setSelectedScalingType(String SelectedScalingType) {
this.SelectedScalingType = SelectedScalingType;
}
/**
* Get 是否选择云联网:CCN_SELECTED 或者 CCN_UNSELECTED;默认是 CCN_UNSELECTED
* @return SelectedCcnType 是否选择云联网:CCN_SELECTED 或者 CCN_UNSELECTED;默认是 CCN_UNSELECTED
*/
public String getSelectedCcnType() {
return this.SelectedCcnType;
}
/**
* Set 是否选择云联网:CCN_SELECTED 或者 CCN_UNSELECTED;默认是 CCN_UNSELECTED
* @param SelectedCcnType 是否选择云联网:CCN_SELECTED 或者 CCN_UNSELECTED;默认是 CCN_UNSELECTED
*/
public void setSelectedCcnType(String SelectedCcnType) {
this.SelectedCcnType = SelectedCcnType;
}
/**
* Get 标签列表,最大长度50组
* @return Tags 标签列表,最大长度50组
*/
public Tag [] getTags() {
return this.Tags;
}
/**
* Set 标签列表,最大长度50组
* @param Tags 标签列表,最大长度50组
*/
public void setTags(Tag [] Tags) {
this.Tags = Tags;
}
/**
* Get 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位
* @return SystemDiskInfo 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位
*/
public DiskInfo getSystemDiskInfo() {
return this.SystemDiskInfo;
}
/**
* Set 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位
* @param SystemDiskInfo 系统盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-500GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,50-500GB;容量以1为单位
*/
public void setSystemDiskInfo(DiskInfo SystemDiskInfo) {
this.SystemDiskInfo = SystemDiskInfo;
}
/**
* Get 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位
* @return DataDiskInfo 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位
*/
public DiskInfo [] getDataDiskInfo() {
return this.DataDiskInfo;
}
/**
* Set 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位
* @param DataDiskInfo 数据盘,储存类型为 SSD 云硬盘(CLOUD_SSD)时,100-32000GB;储存类型为高性能云硬盘(CLOUD_PREMIUM)时,10-32000GB;容量以10为单位
*/
public void setDataDiskInfo(DiskInfo [] DataDiskInfo) {
this.DataDiskInfo = DataDiskInfo;
}
/**
* Get 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED
* @return SelectedTimerType 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED
*/
public String getSelectedTimerType() {
return this.SelectedTimerType;
}
/**
* Set 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED
* @param SelectedTimerType 是否选择复制定时器策略:TIMER_SELECTED 或者 TIMER_UNSELECTED;默认是 TIMER_UNSELECTED
*/
public void setSelectedTimerType(String SelectedTimerType) {
this.SelectedTimerType = SelectedTimerType;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FleetId", this.FleetId);
this.setParamSimple(map, prefix + "CopyNumber", this.CopyNumber);
this.setParamSimple(map, prefix + "AssetId", this.AssetId);
this.setParamSimple(map, prefix + "Description", this.Description);
this.setParamArrayObj(map, prefix + "InboundPermissions.", this.InboundPermissions);
this.setParamSimple(map, prefix + "InstanceType", this.InstanceType);
this.setParamSimple(map, prefix + "FleetType", this.FleetType);
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "NewGameServerSessionProtectionPolicy", this.NewGameServerSessionProtectionPolicy);
this.setParamObj(map, prefix + "ResourceCreationLimitPolicy.", this.ResourceCreationLimitPolicy);
this.setParamObj(map, prefix + "RuntimeConfiguration.", this.RuntimeConfiguration);
this.setParamSimple(map, prefix + "GameServerSessionProtectionTimeLimit", this.GameServerSessionProtectionTimeLimit);
this.setParamSimple(map, prefix + "SelectedScalingType", this.SelectedScalingType);
this.setParamSimple(map, prefix + "SelectedCcnType", this.SelectedCcnType);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
this.setParamObj(map, prefix + "SystemDiskInfo.", this.SystemDiskInfo);
this.setParamArrayObj(map, prefix + "DataDiskInfo.", this.DataDiskInfo);
this.setParamSimple(map, prefix + "SelectedTimerType", this.SelectedTimerType);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy