Class RemoveTargetsRequest

    • Constructor Detail

      • RemoveTargetsRequest

        public RemoveTargetsRequest()
    • Method Detail

      • setRule

        public void setRule​(String rule)

        The name of the rule you want to remove targets from.

        Parameters:
        rule - The name of the rule you want to remove targets from.
      • getRule

        public String getRule()

        The name of the rule you want to remove targets from.

        Returns:
        The name of the rule you want to remove targets from.
      • withRule

        public RemoveTargetsRequest withRule​(String rule)

        The name of the rule you want to remove targets from.

        Parameters:
        rule - The name of the rule you want to remove targets from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getIds

        public List<String> getIds()

        The list of target IDs to remove from the rule.

        Returns:
        The list of target IDs to remove from the rule.
      • setIds

        public void setIds​(Collection<String> ids)

        The list of target IDs to remove from the rule.

        Parameters:
        ids - The list of target IDs to remove from the rule.
      • withIds

        public RemoveTargetsRequest withIds​(String... ids)

        The list of target IDs to remove from the rule.

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

        Parameters:
        ids - The list of target IDs to remove from the rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withIds

        public RemoveTargetsRequest withIds​(Collection<String> ids)

        The list of target IDs to remove from the rule.

        Parameters:
        ids - The list of target IDs to remove from the rule.
        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