Class Resource
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.clb.v20180317.models.Resource
-
public class Resource extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceAvailability[]getAvailabilitySet()Get 可用资源。 注意:此字段可能返回 null,表示取不到有效值。StringgetIsp()Get 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。String[]getType()Get 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。TypeInfo[]getTypeSet()Get 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。voidsetAvailabilitySet(ResourceAvailability[] AvailabilitySet)Set 可用资源。 注意:此字段可能返回 null,表示取不到有效值。voidsetIsp(String Isp)Set 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。voidsetType(String[] Type)Set 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。voidsetTypeSet(TypeInfo[] TypeSet)Set 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。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
-
Resource
public Resource()
-
Resource
public Resource(Resource 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
-
getType
public String[] getType()
Get 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。- Returns:
- Type 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
-
setType
public void setType(String[] Type)
Set 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。- Parameters:
Type- 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
-
getIsp
public String getIsp()
Get 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。- Returns:
- Isp 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
-
setIsp
public void setIsp(String Isp)
Set 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。- Parameters:
Isp- 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
-
getAvailabilitySet
public ResourceAvailability[] getAvailabilitySet()
Get 可用资源。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AvailabilitySet 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
-
setAvailabilitySet
public void setAvailabilitySet(ResourceAvailability[] AvailabilitySet)
Set 可用资源。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AvailabilitySet- 可用资源。 注意:此字段可能返回 null,表示取不到有效值。
-
getTypeSet
public TypeInfo[] getTypeSet()
Get 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TypeSet 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。
-
setTypeSet
public void setTypeSet(TypeInfo[] TypeSet)
Set 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TypeSet- 运营商类型信息 注意:此字段可能返回 null,表示取不到有效值。
-
-