Package com.morpheusdata.model
Class ComputePort
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.ComputePort
Represents ports available on ComputeServers within a Cloud. Currently utilized when connecting by VNC
-
Field Summary
Modifier and TypeFieldDescriptionprotected Long
protected String
protected Integer
protected String
protected Long
protected String
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the id of the parentGet the type of parentgetPort()
Get the port numberGet the type of portgetRefId()
Get the id of the referenced objectGet the type of object this is referenced toGet the region codevoid
setParentId
(Long parentId) Set the id of the parent.void
setParentType
(String parentType) Set the type of parent.void
Set the port numbervoid
setPortType
(String portType) Set the type of port.void
Set the id of the referenced object.void
setRefType
(String refType) Set the type of object this is referenced to.void
setRegionCode
(String regionCode) Set the region code.Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
port
-
portType
-
parentType
-
parentId
-
refType
-
regionCode
-
refId
-
-
Constructor Details
-
ComputePort
public ComputePort() -
ComputePort
-
-
Method Details
-
getPort
Get the port number- Returns:
- port number
-
setPort
Set the port number- Parameters:
port
- port number
-
getPortType
Get the type of port- Returns:
- type of port
-
setPortType
Set the type of port. Should be 'vnc' to enable utilization by VNC- Parameters:
portType
- type of port
-
getParentType
Get the type of parent- Returns:
- type of parent
-
setParentType
Set the type of parent. Should be 'ComputeZone' when configured for 'vnc'- Parameters:
parentType
- type of parent
-
getParentId
Get the id of the parent- Returns:
- id of parent
-
setParentId
Set the id of the parent. Should be the id of the Cloud when configured for 'vnc'- Parameters:
parentId
- id of parent
-
getRefType
Get the type of object this is referenced to- Returns:
- reference type
-
setRefType
Set the type of object this is referenced to. Should be 'ComputeServer' when configured for 'vnc'- Parameters:
refType
- reference type
-
getRegionCode
Get the region code- Returns:
- region code
-
setRegionCode
Set the region code. Should be the regionCode for the Cloud when configured for 'vnc'- Parameters:
regionCode
- region code
-
getRefId
Get the id of the referenced object- Returns:
- reference id
-
setRefId
Set the id of the referenced object. Should be the id of the ComputeServer when configured for 'vnc'- Parameters:
refId
- reference id
-