Class UpdateIPSetRequest

    • Constructor Detail

      • UpdateIPSetRequest

        public UpdateIPSetRequest()
    • Method Detail

      • withIPSetId

        public UpdateIPSetRequest withIPSetId​(String iPSetId)

        The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.

        Parameters:
        iPSetId - The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChangeToken

        public void setChangeToken​(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
      • getChangeToken

        public String getChangeToken()

        The value returned by the most recent call to GetChangeToken.

        Returns:
        The value returned by the most recent call to GetChangeToken.
      • withChangeToken

        public UpdateIPSetRequest withChangeToken​(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getUpdates

        public List<IPSetUpdate> getUpdates()

        An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

        Returns:
        An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

      • setUpdates

        public void setUpdates​(Collection<IPSetUpdate> updates)

        An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

        Parameters:
        updates - An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

      • withUpdates

        public UpdateIPSetRequest withUpdates​(IPSetUpdate... updates)

        An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

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

        Parameters:
        updates - An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withUpdates

        public UpdateIPSetRequest withUpdates​(Collection<IPSetUpdate> updates)

        An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

        Parameters:
        updates - An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

        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