Class PrefixList

    • Constructor Detail

      • PrefixList

        public PrefixList()
    • Method Detail

      • setPrefixListId

        public void setPrefixListId​(String prefixListId)

        The ID of the prefix.

        Parameters:
        prefixListId - The ID of the prefix.
      • getPrefixListId

        public String getPrefixListId()

        The ID of the prefix.

        Returns:
        The ID of the prefix.
      • withPrefixListId

        public PrefixList withPrefixListId​(String prefixListId)

        The ID of the prefix.

        Parameters:
        prefixListId - The ID of the prefix.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrefixListName

        public void setPrefixListName​(String prefixListName)

        The name of the prefix.

        Parameters:
        prefixListName - The name of the prefix.
      • getPrefixListName

        public String getPrefixListName()

        The name of the prefix.

        Returns:
        The name of the prefix.
      • withPrefixListName

        public PrefixList withPrefixListName​(String prefixListName)

        The name of the prefix.

        Parameters:
        prefixListName - The name of the prefix.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCidrs

        public List<String> getCidrs()

        The IP address range of the AWS service.

        Returns:
        The IP address range of the AWS service.
      • setCidrs

        public void setCidrs​(Collection<String> cidrs)

        The IP address range of the AWS service.

        Parameters:
        cidrs - The IP address range of the AWS service.
      • withCidrs

        public PrefixList withCidrs​(String... cidrs)

        The IP address range of the AWS service.

        NOTE: This method appends the values to the existing list (if any). Use setCidrs(java.util.Collection) or withCidrs(java.util.Collection) if you want to override the existing values.

        Parameters:
        cidrs - The IP address range of the AWS service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withCidrs

        public PrefixList withCidrs​(Collection<String> cidrs)

        The IP address range of the AWS service.

        Parameters:
        cidrs - The IP address range of the AWS service.
        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