public class Service extends AbstractModel
header, skipSign
Constructor and Description |
---|
Service() |
Service(Service 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 |
---|---|
Long |
getAppId()
Get app_id
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getArchiveStatus()
Get Archiving status of the service.
|
String |
getBillingInfo()
Get Billing information.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getBusinessStatus()
Get Operational status of the service.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getChargeType()
Get Billing type.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getClusterId()
Get Cluster ID.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCreatedBy()
Get Creator.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCreateFailedReason()
Get Cause for service creation failure.
|
String |
getCreateSource()
Get Creation source of the service.AUTO_ML: comes from one-click release of automatic learning.DEFAULT: other sources.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getCreateTime()
Get Creation time.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDeployType()
Get Deployment type of the service.
|
ResourceGroupInfo[] |
getExternalResourceGroups()
Get External resource group information, indicating which resources are borrowed from resource groups.
|
String |
getIngressName()
Get Name of the ingress where the service is located.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstancePerReplicas()
Get Number of instances per replica.
|
String |
getLatestVersion()
Get The latest version number of services under a service group.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMonitorSource()
Get Source for monitoring queries.Enumeration value.
|
String |
getNamespace()
Get Namespace.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getRegion()
Get Region.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getResourceGroupId()
Get Resource group ID for yearly/monthly subscription services.
|
String |
getResourceGroupName()
Get Resource group name corresponding to the yearly/monthly subscription service.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getResourceGroupSWType()
Get Resource group category.
|
ScheduledAction |
getScheduledAction()
Deprecated.
|
SchedulingPolicy |
getSchedulingPolicy()
Get Scheduling policy of the service.
|
String |
getServiceDescription()
Get Service description.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getServiceGroupId()
Get Service group ID.
|
String |
getServiceGroupName()
Get Service group name.
|
String |
getServiceId()
Get Service ID.
|
ServiceInfo |
getServiceInfo()
Get Service details.Note: This field may return null, indicating that no valid values can be obtained.
|
ServiceLimit |
getServiceLimit()
Deprecated.
|
String |
getStatus()
Get Service status.CREATING: creating.CREATE_FAILED: creation failed.Normal: running.Stopped: stopped.Stopping: stopping.Abnormal: error.Pending: starting.Waiting: getting ready.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSubUin()
Get Sub-account.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getSubUinName()
Get Sub-account name of the service creator.
|
Tag[] |
getTags()
Get Tag of the service.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUin()
Get Root account.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getUpdateTime()
Get Update time.Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getVersion()
Get Version number.Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getWeight()
Get Model weight.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAppId(Long AppId)
Set app_id
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setArchiveStatus(String ArchiveStatus)
Set Archiving status of the service.
|
void |
setBillingInfo(String BillingInfo)
Set Billing information.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setBusinessStatus(String BusinessStatus)
Set Operational status of the service.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setChargeType(String ChargeType)
Set Billing type.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setClusterId(String ClusterId)
Set Cluster ID.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreatedBy(String CreatedBy)
Set Creator.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreateFailedReason(String CreateFailedReason)
Set Cause for service creation failure.
|
void |
setCreateSource(String CreateSource)
Set Creation source of the service.AUTO_ML: comes from one-click release of automatic learning.DEFAULT: other sources.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setCreateTime(String CreateTime)
Set Creation time.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDeployType(String DeployType)
Set Deployment type of the service.
|
void |
setExternalResourceGroups(ResourceGroupInfo[] ExternalResourceGroups)
Set External resource group information, indicating which resources are borrowed from resource groups.
|
void |
setIngressName(String IngressName)
Set Name of the ingress where the service is located.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstancePerReplicas(String InstancePerReplicas)
Set Number of instances per replica.
|
void |
setLatestVersion(String LatestVersion)
Set The latest version number of services under a service group.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMonitorSource(String MonitorSource)
Set Source for monitoring queries.Enumeration value.
|
void |
setNamespace(String Namespace)
Set Namespace.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setRegion(String Region)
Set Region.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResourceGroupId(String ResourceGroupId)
Set Resource group ID for yearly/monthly subscription services.
|
void |
setResourceGroupName(String ResourceGroupName)
Set Resource group name corresponding to the yearly/monthly subscription service.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setResourceGroupSWType(String ResourceGroupSWType)
Set Resource group category.
|
void |
setScheduledAction(ScheduledAction ScheduledAction)
Deprecated.
|
void |
setSchedulingPolicy(SchedulingPolicy SchedulingPolicy)
Set Scheduling policy of the service.
|
void |
setServiceDescription(String ServiceDescription)
Set Service description.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setServiceGroupId(String ServiceGroupId)
Set Service group ID.
|
void |
setServiceGroupName(String ServiceGroupName)
Set Service group name.
|
void |
setServiceId(String ServiceId)
Set Service ID.
|
void |
setServiceInfo(ServiceInfo ServiceInfo)
Set Service details.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setServiceLimit(ServiceLimit ServiceLimit)
Deprecated.
|
void |
setStatus(String Status)
Set Service status.CREATING: creating.CREATE_FAILED: creation failed.Normal: running.Stopped: stopped.Stopping: stopping.Abnormal: error.Pending: starting.Waiting: getting ready.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSubUin(String SubUin)
Set Sub-account.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSubUinName(String SubUinName)
Set Sub-account name of the service creator.
|
void |
setTags(Tag[] Tags)
Set Tag of the service.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUin(String Uin)
Set Root account.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUpdateTime(String UpdateTime)
Set Update time.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setVersion(String Version)
Set Version number.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setWeight(Long Weight)
Set Model weight.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Service()
public Service(Service source)
public String getServiceGroupId()
public void setServiceGroupId(String ServiceGroupId)
ServiceGroupId
- Service group ID.public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- Service ID.public String getServiceGroupName()
public void setServiceGroupName(String ServiceGroupName)
ServiceGroupName
- Service group name.public String getServiceDescription()
public void setServiceDescription(String ServiceDescription)
ServiceDescription
- Service description.Note: This field may return null, indicating that no valid values can be obtained.public ServiceInfo getServiceInfo()
public void setServiceInfo(ServiceInfo ServiceInfo)
ServiceInfo
- Service details.Note: This field may return null, indicating that no valid values can be obtained.public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster ID.Note: This field may return null, indicating that no valid values can be obtained.public String getRegion()
public void setRegion(String Region)
Region
- Region.Note: This field may return null, indicating that no valid values can be obtained.public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- Namespace.Note: This field may return null, indicating that no valid values can be obtained.public String getChargeType()
public void setChargeType(String ChargeType)
ChargeType
- Billing type.Note: This field may return null, indicating that no valid values can be obtained.public String getResourceGroupId()
public void setResourceGroupId(String ResourceGroupId)
ResourceGroupId
- Resource group ID for yearly/monthly subscription services. The value is null for pay-as-you-go services.Note: This field may return null, indicating that no valid values can be obtained.public String getResourceGroupName()
public void setResourceGroupName(String ResourceGroupName)
ResourceGroupName
- Resource group name corresponding to the yearly/monthly subscription service.Note: This field may return null, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- Tag of the service.Note: This field may return null, indicating that no valid values can be obtained.public String getIngressName()
public void setIngressName(String IngressName)
IngressName
- Name of the ingress where the service is located.Note: This field may return null, indicating that no valid values can be obtained.public String getCreatedBy()
public void setCreatedBy(String CreatedBy)
CreatedBy
- Creator.Note: This field may return null, indicating that no valid values can be obtained.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation time.Note: This field may return null, indicating that no valid values can be obtained.public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time.Note: This field may return null, indicating that no valid values can be obtained.public String getUin()
public void setUin(String Uin)
Uin
- Root account.Note: This field may return null, indicating that no valid values can be obtained.public String getSubUin()
public void setSubUin(String SubUin)
SubUin
- Sub-account.Note: This field may return null, indicating that no valid values can be obtained.public Long getAppId()
public void setAppId(Long AppId)
AppId
- app_id
Note: This field may return null, indicating that no valid values can be obtained.public String getBusinessStatus()
public void setBusinessStatus(String BusinessStatus)
BusinessStatus
- Operational status of the service.Note: This field may return null, indicating that no valid values can be obtained.@Deprecated public ServiceLimit getServiceLimit()
@Deprecated public void setServiceLimit(ServiceLimit ServiceLimit)
ServiceLimit
- Deprecated. See the corresponding field in ServiceInfo.Note: This field may return null, indicating that no valid values can be obtained.@Deprecated public ScheduledAction getScheduledAction()
@Deprecated public void setScheduledAction(ScheduledAction ScheduledAction)
ScheduledAction
- Deprecated. See the corresponding field in ServiceInfo.Note: This field may return null, indicating that no valid values can be obtained.public String getCreateFailedReason()
public void setCreateFailedReason(String CreateFailedReason)
CreateFailedReason
- Cause for service creation failure. The default value of this field is CREATE_SUCCEED upon successful creation.Note: This field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status
- Service status.CREATING: creating.CREATE_FAILED: creation failed.Normal: running.Stopped: stopped.Stopping: stopping.Abnormal: error.Pending: starting.Waiting: getting ready.Note: This field may return null, indicating that no valid values can be obtained.public String getBillingInfo()
public void setBillingInfo(String BillingInfo)
BillingInfo
- Billing information.Note: This field may return null, indicating that no valid values can be obtained.public Long getWeight()
public void setWeight(Long Weight)
Weight
- Model weight.Note: This field may return null, indicating that no valid values can be obtained.public String getCreateSource()
public void setCreateSource(String CreateSource)
CreateSource
- Creation source of the service.AUTO_ML: comes from one-click release of automatic learning.DEFAULT: other sources.Note: This field may return null, indicating that no valid values can be obtained.public String getVersion()
public void setVersion(String Version)
Version
- Version number.Note: This field may return null, indicating that no valid values can be obtained.public String getLatestVersion()
public void setLatestVersion(String LatestVersion)
LatestVersion
- The latest version number of services under a service group.Note: This field may return null, indicating that no valid values can be obtained.public String getResourceGroupSWType()
public void setResourceGroupSWType(String ResourceGroupSWType)
ResourceGroupSWType
- Resource group category. Valid values: NORMAL (hosting) and SW (half-hosting).Note: This field may return null, indicating that no valid values can be obtained.public String getArchiveStatus()
public void setArchiveStatus(String ArchiveStatus)
ArchiveStatus
- Archiving status of the service. Valid values: Waiting (pending archiving) and Archived (archived).Note: This field may return null, indicating that no valid values can be obtained.public String getDeployType()
public void setDeployType(String DeployType)
DeployType
- Deployment type of the service. Valid values: STANDARD (standard deployment) and DIST (multi-machine distributed deployment). The default value is STANDARD.Note: This field may return null, indicating that no valid values can be obtained.public String getInstancePerReplicas()
public void setInstancePerReplicas(String InstancePerReplicas)
InstancePerReplicas
- Number of instances per replica. This parameter is valid only when the deployment type is DIST. Default value: 1.Note: This field may return null, indicating that no valid values can be obtained.public String getMonitorSource()
public void setMonitorSource(String MonitorSource)
MonitorSource
- Source for monitoring queries.Enumeration value. May differ from CreateSource in certain scenarios. This field is designed to be compatible.public String getSubUinName()
public void setSubUinName(String SubUinName)
SubUinName
- Sub-account name of the service creator.public SchedulingPolicy getSchedulingPolicy()
public void setSchedulingPolicy(SchedulingPolicy SchedulingPolicy)
SchedulingPolicy
- Scheduling policy of the service.public ResourceGroupInfo[] getExternalResourceGroups()
public void setExternalResourceGroups(ResourceGroupInfo[] ExternalResourceGroups)
ExternalResourceGroups
- External resource group information, indicating which resources are borrowed from resource groups.Copyright © 2025. All rights reserved.