Class GbpPolicyRule

    • Constructor Detail

      • GbpPolicyRule

        public GbpPolicyRule()
    • 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)
        Description copied from interface: Resource
        Sets the tenant identifier
        Specified by:
        setTenantId in interface Resource
        Parameters:
        tenantId - the tenant id to set
      • setName

        public void setName​(String name)
        Description copied from interface: BasicResource
        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)
        Description copied from interface: IdEntity
        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
      • getPolicyClassifierId

        public String getPolicyClassifierId()
        Description copied from interface: PolicyRule
        Gets the policy classifier Id
        Specified by:
        getPolicyClassifierId in interface PolicyRule
        Returns:
        the policy classifier Id
      • getPolicyActions

        public List<String> getPolicyActions()
        Description copied from interface: PolicyRule
        Gets the list of Policy actions
        Specified by:
        getPolicyActions in interface PolicyRule
        Returns:
        the list of Policy actions
      • isShared

        public boolean isShared()
        Description copied from interface: PolicyRule
        Is Policy Rule shared
        Specified by:
        isShared in interface PolicyRule
        Returns:
        the true if shared and false if not shared
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: PolicyRule
        Is policy rule enabled
        Specified by:
        isEnabled in interface PolicyRule
        Returns:
        True or False