public class NamedComputeEnv extends AbstractModel
Constructor and Description |
---|
NamedComputeEnv() |
Modifier and Type | Method and Description |
---|---|
String |
getActionIfComputeNodeInactive()
Get Inactive node processing policy.
|
AgentRunningMode |
getAgentRunningMode()
Get Agent running mode; applicable for Windows
|
Authentication[] |
getAuthentications()
Get Authorization information
|
Long |
getDesiredComputeNodeCount()
Get Number of desired compute nodes
|
EnvData |
getEnvData()
Get Compute environment's specific parameters
|
String |
getEnvDescription()
Get Compute environment description
|
String |
getEnvName()
Get Compute environment name
|
String |
getEnvType()
Get Compute environment management type
|
InputMapping[] |
getInputMappings()
Get Input mapping information
|
MountDataDisk[] |
getMountDataDisks()
Get Data disk mounting option
|
Notification |
getNotifications()
Get Notification information
|
Long |
getResourceMaxRetryCount()
Get When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically.
|
void |
setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
Set Inactive node processing policy.
|
void |
setAgentRunningMode(AgentRunningMode AgentRunningMode)
Set Agent running mode; applicable for Windows
|
void |
setAuthentications(Authentication[] Authentications)
Set Authorization information
|
void |
setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
Set Number of desired compute nodes
|
void |
setEnvData(EnvData EnvData)
Set Compute environment's specific parameters
|
void |
setEnvDescription(String EnvDescription)
Set Compute environment description
|
void |
setEnvName(String EnvName)
Set Compute environment name
|
void |
setEnvType(String EnvType)
Set Compute environment management type
|
void |
setInputMappings(InputMapping[] InputMappings)
Set Input mapping information
|
void |
setMountDataDisks(MountDataDisk[] MountDataDisks)
Set Data disk mounting option
|
void |
setNotifications(Notification Notifications)
Set Notification information
|
void |
setResourceMaxRetryCount(Long ResourceMaxRetryCount)
Set When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getEnvName()
public void setEnvName(String EnvName)
EnvName
- Compute environment namepublic Long getDesiredComputeNodeCount()
public void setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
DesiredComputeNodeCount
- Number of desired compute nodespublic String getEnvDescription()
public void setEnvDescription(String EnvDescription)
EnvDescription
- Compute environment descriptionpublic String getEnvType()
public void setEnvType(String EnvType)
EnvType
- Compute environment management typepublic EnvData getEnvData()
public void setEnvData(EnvData EnvData)
EnvData
- Compute environment's specific parameterspublic MountDataDisk[] getMountDataDisks()
public void setMountDataDisks(MountDataDisk[] MountDataDisks)
MountDataDisks
- Data disk mounting optionpublic Authentication[] getAuthentications()
public void setAuthentications(Authentication[] Authentications)
Authentications
- Authorization informationpublic InputMapping[] getInputMappings()
public void setInputMappings(InputMapping[] InputMappings)
InputMappings
- Input mapping informationpublic AgentRunningMode getAgentRunningMode()
public void setAgentRunningMode(AgentRunningMode AgentRunningMode)
AgentRunningMode
- Agent running mode; applicable for Windowspublic Notification getNotifications()
public void setNotifications(Notification Notifications)
Notifications
- Notification informationpublic String getActionIfComputeNodeInactive()
public void setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
ActionIfComputeNodeInactive
- Inactive node processing policy. Default value: RECREATE, which means that instance resources will be re-created periodically for compute nodes where instance creation fails or is abnormally returned.public Long getResourceMaxRetryCount()
public void setResourceMaxRetryCount(Long ResourceMaxRetryCount)
ResourceMaxRetryCount
- When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically. This parameter specifies the maximum retry attempts. The max value is 11 and the default value is 7.Copyright © 2020. All rights reserved.