Class GbpNatPool

    • Constructor Detail

      • GbpNatPool

        public GbpNatPool()
    • 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
      • getDescription

        public String getDescription()
        Description copied from interface: NatPool
        Gets the description
        Specified by:
        getDescription in interface NatPool
        Returns:
        the description
      • isShared

        public boolean isShared()
        Description copied from interface: NatPool
        Is Nat Pool shared
        Specified by:
        isShared in interface NatPool
        Returns:
        the true if shared and false if not shared
      • getExternalSegmentId

        public String getExternalSegmentId()
        Description copied from interface: NatPool
        Gets the External segment Id
        Specified by:
        getExternalSegmentId in interface NatPool
        Returns:
        the External segment Id
      • getIpPool

        public String getIpPool()
        Description copied from interface: NatPool
        Gets the Ip Pool
        Specified by:
        getIpPool in interface NatPool
        Returns:
        the Ip Pool
      • getIpVersion

        public String getIpVersion()
        Description copied from interface: NatPool
        Gets the Ip Version
        Specified by:
        getIpVersion in interface NatPool
        Returns:
        the Ip Version
      • getSubnetId

        public String getSubnetId()
        Description copied from interface: NatPool
        Gets the subnet Id
        Specified by:
        getSubnetId in interface NatPool
        Returns:
        the subnet Id