Class GbpExternalPolicy

    • Constructor Detail

      • GbpExternalPolicy

        public GbpExternalPolicy()
    • Method Detail

      • getTenantId

        public String getTenantId()
        Specified by:
        getTenantId in interface Resource
        Returns:
        the tenant identifier for this resource
      • setTenantId

        public void setTenantId​(String tenantId)
        Sets the tenant identifier
        Specified by:
        setTenantId in interface Resource
        Parameters:
        tenantId - the tenant id to set
      • setName

        public void setName​(String name)
        Sets the name for this resource
        Specified by:
        setName in interface BasicResource
        Parameters:
        name - the name to set
      • getId

        public String getId()
        Specified by:
        getId in interface IdEntity
        Returns:
        the identifier for this resource
      • setId

        public void setId​(String id)
        Sets the identifier for this resource. Note: creating a new resource should not have the idenfier set since OpenStack will assign one on the create call
        Specified by:
        setId in interface IdEntity
        Parameters:
        id - the identifier
      • getExternalSegments

        public List<String> getExternalSegments()
        Gets the external segments associated with this external policy Ids
        Specified by:
        getExternalSegments in interface ExternalPolicy
        Returns:
        the external segment ids
      • isShared

        public boolean isShared()
        Is external policy shared
        Specified by:
        isShared in interface ExternalPolicy
        Returns:
        the true if shared and false if not shared