Class ResourceCreationLimitPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.ResourceCreationLimitPolicy
-
public class ResourceCreationLimitPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ResourceCreationLimitPolicy()ResourceCreationLimitPolicy(ResourceCreationLimitPolicy 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetNewGameServerSessionsPerCreator()Get 创建数量,最小值1,默认2LonggetPolicyPeriodInMinutes()Get 单位时间,最小值1,默认3,单位分钟voidsetNewGameServerSessionsPerCreator(Long NewGameServerSessionsPerCreator)Set 创建数量,最小值1,默认2voidsetPolicyPeriodInMinutes(Long PolicyPeriodInMinutes)Set 单位时间,最小值1,默认3,单位分钟voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ResourceCreationLimitPolicy
public ResourceCreationLimitPolicy()
-
ResourceCreationLimitPolicy
public ResourceCreationLimitPolicy(ResourceCreationLimitPolicy 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.
-
-
Method Detail
-
getNewGameServerSessionsPerCreator
public Long getNewGameServerSessionsPerCreator()
Get 创建数量,最小值1,默认2- Returns:
- NewGameServerSessionsPerCreator 创建数量,最小值1,默认2
-
setNewGameServerSessionsPerCreator
public void setNewGameServerSessionsPerCreator(Long NewGameServerSessionsPerCreator)
Set 创建数量,最小值1,默认2- Parameters:
NewGameServerSessionsPerCreator- 创建数量,最小值1,默认2
-
getPolicyPeriodInMinutes
public Long getPolicyPeriodInMinutes()
Get 单位时间,最小值1,默认3,单位分钟- Returns:
- PolicyPeriodInMinutes 单位时间,最小值1,默认3,单位分钟
-
setPolicyPeriodInMinutes
public void setPolicyPeriodInMinutes(Long PolicyPeriodInMinutes)
Set 单位时间,最小值1,默认3,单位分钟- Parameters:
PolicyPeriodInMinutes- 单位时间,最小值1,默认3,单位分钟
-
-