Class CreateClusterRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.CreateClusterRequest
-
public class CreateClusterRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateClusterRequest()CreateClusterRequest(CreateClusterRequest 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 LonggetBindClusterId()Get 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。StringgetClusterName()Get 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。BooleangetPublicAccessEnabled()Get 是否开启公网访问,不填时默认开启StringgetRemark()Get 说明,128个字符以内。Tag[]getTags()Get 集群的标签列表(已废弃)voidsetBindClusterId(Long BindClusterId)Set 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。voidsetClusterName(String ClusterName)Set 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。voidsetPublicAccessEnabled(Boolean PublicAccessEnabled)Set 是否开启公网访问,不填时默认开启voidsetRemark(String Remark)Set 说明,128个字符以内。voidsetTags(Tag[] Tags)Set 集群的标签列表(已废弃)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
-
CreateClusterRequest
public CreateClusterRequest()
-
CreateClusterRequest
public CreateClusterRequest(CreateClusterRequest 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
-
getClusterName
public String getClusterName()
Get 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。- Returns:
- ClusterName 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。
-
setClusterName
public void setClusterName(String ClusterName)
Set 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。- Parameters:
ClusterName- 集群名称,不支持中字以及除了短线和下划线外的特殊字符且不超过64个字符。
-
getBindClusterId
public Long getBindClusterId()
Get 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。- Returns:
- BindClusterId 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。
-
setBindClusterId
public void setBindClusterId(Long BindClusterId)
Set 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。- Parameters:
BindClusterId- 用户专享物理集群ID,如果不传,则默认在公共集群上创建用户集群资源。
-
getRemark
public String getRemark()
Get 说明,128个字符以内。- Returns:
- Remark 说明,128个字符以内。
-
setRemark
public void setRemark(String Remark)
Set 说明,128个字符以内。- Parameters:
Remark- 说明,128个字符以内。
-
getTags
public Tag[] getTags()
Get 集群的标签列表(已废弃)- Returns:
- Tags 集群的标签列表(已废弃)
-
setTags
public void setTags(Tag[] Tags)
Set 集群的标签列表(已废弃)- Parameters:
Tags- 集群的标签列表(已废弃)
-
getPublicAccessEnabled
public Boolean getPublicAccessEnabled()
Get 是否开启公网访问,不填时默认开启- Returns:
- PublicAccessEnabled 是否开启公网访问,不填时默认开启
-
setPublicAccessEnabled
public void setPublicAccessEnabled(Boolean PublicAccessEnabled)
Set 是否开启公网访问,不填时默认开启- Parameters:
PublicAccessEnabled- 是否开启公网访问,不填时默认开启
-
-