public class Environment extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| Environment() | 
| Environment(Environment 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 | 
|---|---|
| Boolean | getAvailable()Get Whether the environment is available. | 
| String | getCreationTime()Get Creation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getDescription()Get Environment description information | 
| String | getEnvironmentId()Get Environment ID | 
| Boolean | getIsDefault()Get Whether the environment is the default environment. | 
| Boolean | getIsManaged()Get Whether the environment is a managed environment. | 
| String | getLastWorkflowUuid()Get The UUID of the previous workflow
Note: This field may return null, indicating that no valid values can be obtained. | 
| String | getMessage()Get Environment information | 
| String | getName()Get Environment name | 
| String | getRegion()Get Environment region | 
| ResourceIds | getResourceIds()Get Cloud resource ID | 
| String | getStatus()Get Environment status. | 
| String | getType()Get Environment type. | 
| void | setAvailable(Boolean Available)Set Whether the environment is available. | 
| void | setCreationTime(String CreationTime)Set Creation time
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setDescription(String Description)Set Environment description information | 
| void | setEnvironmentId(String EnvironmentId)Set Environment ID | 
| void | setIsDefault(Boolean IsDefault)Set Whether the environment is the default environment. | 
| void | setIsManaged(Boolean IsManaged)Set Whether the environment is a managed environment. | 
| void | setLastWorkflowUuid(String LastWorkflowUuid)Set The UUID of the previous workflow
Note: This field may return null, indicating that no valid values can be obtained. | 
| void | setMessage(String Message)Set Environment information | 
| void | setName(String Name)Set Environment name | 
| void | setRegion(String Region)Set Environment region | 
| void | setResourceIds(ResourceIds ResourceIds)Set Cloud resource ID | 
| void | setStatus(String Status)Set Environment status. | 
| void | setType(String Type)Set Environment type. | 
| 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, toJsonStringpublic Environment()
public Environment(Environment source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId - Environment IDpublic String getName()
public void setName(String Name)
Name - Environment namepublic String getDescription()
public void setDescription(String Description)
Description - Environment description informationpublic String getRegion()
public void setRegion(String Region)
Region - Environment regionpublic String getType()
public void setType(String Type)
Type - Environment type. Valid values:
- KUBERNETES: Kubernetes container cluster
- HPC:HPC HCCpublic String getStatus()
public void setStatus(String Status)
Status - Environment status. Valid values:
- INITIALIZING: Creating
- INITIALIZATION_ERROR: Creation failed
- RUNNING: Running
- ERROR: Exceptional
- DELETING: Deleting
- DELETE_ERROR: Deletion failed.public Boolean getAvailable()
public void setAvailable(Boolean Available)
Available - Whether the environment is available. The environment needs to be available before computing runs can be delivered.public Boolean getIsDefault()
public void setIsDefault(Boolean IsDefault)
IsDefault - Whether the environment is the default environment.public Boolean getIsManaged()
public void setIsManaged(Boolean IsManaged)
IsManaged - Whether the environment is a managed environment.public String getMessage()
public void setMessage(String Message)
Message - Environment informationpublic ResourceIds getResourceIds()
public void setResourceIds(ResourceIds ResourceIds)
ResourceIds - Cloud resource IDpublic String getLastWorkflowUuid()
public void setLastWorkflowUuid(String LastWorkflowUuid)
LastWorkflowUuid - The UUID of the previous workflow
Note: This field may return null, indicating that no valid values can be obtained.public String getCreationTime()
public void setCreationTime(String CreationTime)
CreationTime - Creation time
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.