public class CopyFleetRequest extends AbstractModel
Constructor and Description |
---|
CopyFleetRequest() |
CopyFleetRequest(CopyFleetRequest source)
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAssetId()
Get Asset package ID
|
CcnInfo[] |
getCcnInfos()
Get Information of the CCN instance, including the owner account and the instance ID.
|
Long |
getCopyNumber()
Get Replica number.
|
DiskInfo[] |
getDataDiskInfo()
Get Data disk.
|
String |
getDescription()
Get Description.
|
String |
getFleetId()
Get Server fleet ID
|
String |
getFleetType()
Get Server fleet type, which only supports “ON_DEMAND” type now.
|
Long |
getGameServerSessionProtectionTimeLimit()
Get Timeout period of time-limited protection.
|
InboundPermission[] |
getInboundPermissions()
Get Network configuration
|
String |
getInstanceType()
Get Server type.
|
Long |
getInternetMaxBandwidthOut()
Get Maximum outbound public network bandwidth of the server fleet.
|
String |
getName()
Get Server fleet name.
|
String |
getNewGameServerSessionProtectionPolicy()
Get Protection policy.
|
ResourceCreationLimitPolicy |
getResourceCreationLimitPolicy()
Get Limit policy of resource creation
|
RuntimeConfiguration |
getRuntimeConfiguration()
Get Progress configuration
|
String |
getSelectedCcnType()
Get Whether to associate the fleet with a CCN instance: CCN_SELECTED_BEFORE_CREATE (associate before creation), CCN_SELECTED_AFTER_CREATE (associated after creation), or CCN_UNSELECTED (do not associate); CCN_UNSELECTED by default
|
String |
getSelectedScalingType()
Get Whether to select scaling.
|
String |
getSelectedTimerType()
Get Whether to select to replicate the timer policy: TIMER_SELECTED or TIMER_UNSELECTED.
|
DiskInfo |
getSystemDiskInfo()
Get System disk.
|
Tag[] |
getTags()
Get Tag list.
|
void |
setAssetId(String AssetId)
Set Asset package ID
|
void |
setCcnInfos(CcnInfo[] CcnInfos)
Set Information of the CCN instance, including the owner account and the instance ID.
|
void |
setCopyNumber(Long CopyNumber)
Set Replica number.
|
void |
setDataDiskInfo(DiskInfo[] DataDiskInfo)
Set Data disk.
|
void |
setDescription(String Description)
Set Description.
|
void |
setFleetId(String FleetId)
Set Server fleet ID
|
void |
setFleetType(String FleetType)
Set Server fleet type, which only supports “ON_DEMAND” type now.
|
void |
setGameServerSessionProtectionTimeLimit(Long GameServerSessionProtectionTimeLimit)
Set Timeout period of time-limited protection.
|
void |
setInboundPermissions(InboundPermission[] InboundPermissions)
Set Network configuration
|
void |
setInstanceType(String InstanceType)
Set Server type.
|
void |
setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
Set Maximum outbound public network bandwidth of the server fleet.
|
void |
setName(String Name)
Set Server fleet name.
|
void |
setNewGameServerSessionProtectionPolicy(String NewGameServerSessionProtectionPolicy)
Set Protection policy.
|
void |
setResourceCreationLimitPolicy(ResourceCreationLimitPolicy ResourceCreationLimitPolicy)
Set Limit policy of resource creation
|
void |
setRuntimeConfiguration(RuntimeConfiguration RuntimeConfiguration)
Set Progress configuration
|
void |
setSelectedCcnType(String SelectedCcnType)
Set Whether to associate the fleet with a CCN instance: CCN_SELECTED_BEFORE_CREATE (associate before creation), CCN_SELECTED_AFTER_CREATE (associated after creation), or CCN_UNSELECTED (do not associate); CCN_UNSELECTED by default
|
void |
setSelectedScalingType(String SelectedScalingType)
Set Whether to select scaling.
|
void |
setSelectedTimerType(String SelectedTimerType)
Set Whether to select to replicate the timer policy: TIMER_SELECTED or TIMER_UNSELECTED.
|
void |
setSystemDiskInfo(DiskInfo SystemDiskInfo)
Set System disk.
|
void |
setTags(Tag[] Tags)
Set Tag list.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CopyFleetRequest()
public CopyFleetRequest(CopyFleetRequest source)
public String getFleetId()
public void setFleetId(String FleetId)
FleetId
- Server fleet IDpublic Long getCopyNumber()
public void setCopyNumber(Long CopyNumber)
CopyNumber
- Replica number. It should a value between 1 to the number of the remaining quota. It can be obtained through [Obtaining User Quota](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).public String getAssetId()
public void setAssetId(String AssetId)
AssetId
- Asset package IDpublic String getDescription()
public void setDescription(String Description)
Description
- Description. The length is 0-100 characters.public InboundPermission[] getInboundPermissions()
public void setInboundPermissions(InboundPermission[] InboundPermissions)
InboundPermissions
- Network configurationpublic String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- Server type. It can be obtained through [Obtaining Server Instance Type List](https://intl.cloud.tencent.com/document/product/1165/48732?from_cn_redirect=1).public String getFleetType()
public void setFleetType(String FleetType)
FleetType
- Server fleet type, which only supports “ON_DEMAND” type now.public String getName()
public void setName(String Name)
Name
- Server fleet name. The length is 1-50 characters.public String getNewGameServerSessionProtectionPolicy()
public void setNewGameServerSessionProtectionPolicy(String NewGameServerSessionProtectionPolicy)
NewGameServerSessionProtectionPolicy
- Protection policy. Valid values: NoProtection·(no protection), FullProtection (full protection), TimeLimitProtection (time-limited protection)public ResourceCreationLimitPolicy getResourceCreationLimitPolicy()
public void setResourceCreationLimitPolicy(ResourceCreationLimitPolicy ResourceCreationLimitPolicy)
ResourceCreationLimitPolicy
- Limit policy of resource creationpublic RuntimeConfiguration getRuntimeConfiguration()
public void setRuntimeConfiguration(RuntimeConfiguration RuntimeConfiguration)
RuntimeConfiguration
- Progress configurationpublic Long getGameServerSessionProtectionTimeLimit()
public void setGameServerSessionProtectionTimeLimit(Long GameServerSessionProtectionTimeLimit)
GameServerSessionProtectionTimeLimit
- Timeout period of time-limited protection. Value range: 5-1440 minutes. Default value: 60 minutes. This parameter is valid only when NewGameSessionProtectionPolicy is set as TimeLimitProtection.public String getSelectedScalingType()
public void setSelectedScalingType(String SelectedScalingType)
SelectedScalingType
- Whether to select scaling. Valid values: SCALING_SELECTED, SCALING_UNSELECTED. Default value: SCALING_UNSELECTED.public String getSelectedCcnType()
public void setSelectedCcnType(String SelectedCcnType)
SelectedCcnType
- Whether to associate the fleet with a CCN instance: CCN_SELECTED_BEFORE_CREATE (associate before creation), CCN_SELECTED_AFTER_CREATE (associated after creation), or CCN_UNSELECTED (do not associate); CCN_UNSELECTED by defaultpublic Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag list. Up to 50 tags.public DiskInfo getSystemDiskInfo()
public void setSystemDiskInfo(DiskInfo SystemDiskInfo)
SystemDiskInfo
- System disk. It can be a SSD (CLOUD_SSD) with 100-500 GB capacity or a Premium Cloud Storage disk (CLOUD_PREMIUM) with 50-500 GB capacity. The increment is 1.public DiskInfo[] getDataDiskInfo()
public void setDataDiskInfo(DiskInfo[] DataDiskInfo)
DataDiskInfo
- Data disk. It can be SSD disks (CLOUD_SSD) with 100-32000 GB capacity or Premium Cloud Storage disks (CLOUD_PREMIUM) with 10-32000 GB capacity. The increment is 10.public String getSelectedTimerType()
public void setSelectedTimerType(String SelectedTimerType)
SelectedTimerType
- Whether to select to replicate the timer policy: TIMER_SELECTED or TIMER_UNSELECTED. The default value is TIMER_UNSELECTED.public CcnInfo[] getCcnInfos()
public void setCcnInfos(CcnInfo[] CcnInfos)
CcnInfos
- Information of the CCN instance, including the owner account and the instance ID.public Long getInternetMaxBandwidthOut()
public void setInternetMaxBandwidthOut(Long InternetMaxBandwidthOut)
InternetMaxBandwidthOut
- Maximum outbound public network bandwidth of the server fleet. Value range: 1 - 200 Mbps. Default value: 100 Mbps.Copyright © 2023. All rights reserved.