Class SecurityGroupLocation


public class SecurityGroupLocation extends SecurityGroupLocationIdentityProjection
Represents a SecurityGroup for a specific location (usually a Cloud as referenced by the refId and refType). Typical Cloud sync logic will compare the Cloud's security group information with the Morpheus SecurityGroupLocations as obtained when refId == cloud.id and refType == 'ComputeZone'. If a match is not found, a new SecurityGroup and SecurityGroupLocation is, typically, created.
  • Field Details

    • code

      protected String code
    • groupName

      protected String groupName
    • groupRegion

      protected String groupRegion
    • groupSource

      protected String groupSource
    • description

      protected String description
    • externalType

      protected String externalType
    • ruleHash

      protected String ruleHash
    • visibility

      protected String visibility
    • status

      protected SecurityGroupLocation.Status status
    • defaultLocation

      protected Boolean defaultLocation
    • securityServer

      protected NetworkSecurityServer securityServer
    • zonePool

      protected CloudPool zonePool
    • networkServer

      protected NetworkServer networkServer
    • network

      protected Network network
    • internalId

      protected String internalId
    • refType

      protected String refType
    • refId

      protected Long refId
    • subRefType

      protected String subRefType
    • subRefId

      protected Long subRefId
    • iacId

      protected String iacId
    • uniqueId

      protected String uniqueId
    • providerId

      protected String providerId
    • scopeId

      protected String scopeId
    • scopeModel

      protected String scopeModel
    • rawData

      protected String rawData
    • priority

      protected Integer priority
    • groupLayer

      protected String groupLayer
    • regionCode

      protected String regionCode
  • Constructor Details

    • SecurityGroupLocation

      public SecurityGroupLocation()
  • Method Details

    • getCode

      public String getCode()
    • setCode

      public void setCode(String code)
    • getGroupName

      public String getGroupName()
    • setGroupName

      public void setGroupName(String groupName)
    • getGroupRegion

      public String getGroupRegion()
    • setGroupRegion

      public void setGroupRegion(String groupRegion)
    • getGroupSource

      public String getGroupSource()
    • setGroupSource

      public void setGroupSource(String groupSource)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • getExternalType

      public String getExternalType()
    • setExternalType

      public void setExternalType(String externalType)
    • getRuleHash

      public String getRuleHash()
    • setRuleHash

      public void setRuleHash(String ruleHash)
    • getVisibility

      public String getVisibility()
    • setVisibility

      public void setVisibility(String visibility)
    • getStatus

      public SecurityGroupLocation.Status getStatus()
    • setStatus

      public void setStatus(SecurityGroupLocation.Status status)
    • getDefaultLocation

      public Boolean getDefaultLocation()
    • setDefaultLocation

      public void setDefaultLocation(Boolean defaultLocation)
    • getSecurityServer

      public NetworkSecurityServer getSecurityServer()
    • setSecurityServer

      public void setSecurityServer(NetworkSecurityServer securityServer)
    • getZonePool

      public CloudPool getZonePool()
    • setZonePool

      public void setZonePool(CloudPool zonePool)
    • getNetworkServer

      public NetworkServer getNetworkServer()
    • setNetworkServer

      public void setNetworkServer(NetworkServer networkServer)
    • getNetwork

      public Network getNetwork()
    • setNetwork

      public void setNetwork(Network network)
    • getInternalId

      public String getInternalId()
    • setInternalId

      public void setInternalId(String internalId)
    • getRefType

      public String getRefType()
    • setRefType

      public void setRefType(String refType)
    • getRefId

      public Long getRefId()
      Overrides:
      getRefId in class SecurityGroupLocationIdentityProjection
    • setRefId

      public void setRefId(Long refId)
      Overrides:
      setRefId in class SecurityGroupLocationIdentityProjection
    • getSubRefType

      public String getSubRefType()
    • setSubRefType

      public void setSubRefType(String subRefType)
    • getSubRefId

      public Long getSubRefId()
    • setSubRefId

      public void setSubRefId(Long subRefId)
    • getIacId

      public String getIacId()
    • setIacId

      public void setIacId(String iacId)
    • getUniqueId

      public String getUniqueId()
    • setUniqueId

      public void setUniqueId(String uniqueId)
    • getProviderId

      public String getProviderId()
    • setProviderId

      public void setProviderId(String providerId)
    • getScopeId

      public String getScopeId()
    • setScopeId

      public void setScopeId(String scopeId)
    • getScopeModel

      public String getScopeModel()
    • setScopeModel

      public void setScopeModel(String scopeModel)
    • getRawData

      public String getRawData()
    • setRawData

      public void setRawData(String rawData)
    • getPriority

      public Integer getPriority()
    • setPriority

      public void setPriority(Integer priority)
    • getGroupLayer

      public String getGroupLayer()
    • setGroupLayer

      public void setGroupLayer(String groupLayer)
    • getRegionCode

      public String getRegionCode()
    • setRegionCode

      public void setRegionCode(String regionCode)