Class TrafficPolicy

    • Constructor Detail

      • TrafficPolicy

        public TrafficPolicy()
    • Method Detail

      • setId

        public void setId​(String id)
        Parameters:
        id -
      • getId

        public String getId()
        Returns:
      • withId

        public TrafficPolicy withId​(String id)
        Parameters:
        id -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVersion

        public void setVersion​(Integer version)
        Parameters:
        version -
      • getVersion

        public Integer getVersion()
        Returns:
      • withVersion

        public TrafficPolicy withVersion​(Integer version)
        Parameters:
        version -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)
        Parameters:
        name -
      • getName

        public String getName()
        Returns:
      • withName

        public TrafficPolicy withName​(String name)
        Parameters:
        name -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)
        Parameters:
        type -
        See Also:
        RRType
      • getType

        public String getType()
        Returns:
        See Also:
        RRType
      • withType

        public TrafficPolicy withType​(String type)
        Parameters:
        type -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RRType
      • setType

        public void setType​(RRType type)
        Parameters:
        type -
        See Also:
        RRType
      • withType

        public TrafficPolicy withType​(RRType type)
        Parameters:
        type -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RRType
      • setDocument

        public void setDocument​(String document)
        Parameters:
        document -
      • getDocument

        public String getDocument()
        Returns:
      • withDocument

        public TrafficPolicy withDocument​(String document)
        Parameters:
        document -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setComment

        public void setComment​(String comment)
        Parameters:
        comment -
      • getComment

        public String getComment()
        Returns:
      • withComment

        public TrafficPolicy withComment​(String comment)
        Parameters:
        comment -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object