Package com.morpheusdata.model
Class NetworkLocation
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.NetworkLocationIdentityProjection
com.morpheusdata.model.NetworkLocation
- All Implemented Interfaces:
Serializable
Represents a Network Location, which defines geographic or logical locations associated with networks and cloud resources.
Network Locations can be used to organize networks by region, datacenter, or other logical groupings.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Accountprotected CloudPoolprotected Stringprotected Networkprotected Longprotected Stringprotected Stringprotected StringFields inherited from class com.morpheusdata.model.projection.NetworkLocationIdentityProjection
externalIdFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list ofCloudPoolzone pools assigned to this NetworkLocationGets the primaryCloudPool(zone pool) associated with this NetworkLocationGets the internal id of the NetworkLocationgetRefId()Gets the unique id of the NetworkLocationvoidsetAccount(Account account) voidsetAssignedZonePools(List<CloudPool> assignedZonePools) Sets the list ofCloudPoolzone pools assigned to this NetworkLocationvoidsetCloudPool(CloudPool cloudPool) Sets the primaryCloudPool(zone pool) associated with this NetworkLocationvoidsetInternalId(String internalId) Sets the internal id of the NetworkLocationvoidsetNetwork(Network network) voidvoidsetRefType(String refType) voidsetRefUUID(String refUUID) voidsetUniqueId(String uniqueId) Sets the unique id of the NetworkLocationMethods inherited from class com.morpheusdata.model.projection.NetworkLocationIdentityProjection
getExternalId, setExternalIdMethods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
account
-
refType
-
refId
-
refUUID
-
internalId
-
uniqueId
-
network
-
cloudPool
-
assignedZonePools
-
-
Constructor Details
-
NetworkLocation
public NetworkLocation()
-
-
Method Details
-
getAccount
-
setAccount
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-
getRefUUID
-
setRefUUID
-
getNetwork
-
setNetwork
-
getInternalId
Gets the internal id of the NetworkLocation- Returns:
- the internalId
-
setInternalId
Sets the internal id of the NetworkLocation- Parameters:
internalId- the internal id
-
getUniqueId
Gets the unique id of the NetworkLocation- Returns:
- the uniqueId
-
setUniqueId
Sets the unique id of the NetworkLocation- Parameters:
uniqueId- the unique id
-
getCloudPool
Gets the primaryCloudPool(zone pool) associated with this NetworkLocation- Returns:
- the cloudPool
-
setCloudPool
Sets the primaryCloudPool(zone pool) associated with this NetworkLocation- Parameters:
cloudPool- the zone pool
-
getAssignedZonePools
Gets the list ofCloudPoolzone pools assigned to this NetworkLocation- Returns:
- the assignedZonePools
-
setAssignedZonePools
Sets the list ofCloudPoolzone pools assigned to this NetworkLocation- Parameters:
assignedZonePools- the list of assigned zone pools
-