Class AddAttributesToFindingsRequest

    • Constructor Detail

      • AddAttributesToFindingsRequest

        public AddAttributesToFindingsRequest()
    • Method Detail

      • getFindingArns

        public List<String> getFindingArns()

        The ARNs that specify the findings that you want to assign attributes to.

        Returns:
        The ARNs that specify the findings that you want to assign attributes to.
      • setFindingArns

        public void setFindingArns​(Collection<String> findingArns)

        The ARNs that specify the findings that you want to assign attributes to.

        Parameters:
        findingArns - The ARNs that specify the findings that you want to assign attributes to.
      • withFindingArns

        public AddAttributesToFindingsRequest withFindingArns​(String... findingArns)

        The ARNs that specify the findings that you want to assign attributes to.

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

        Parameters:
        findingArns - The ARNs that specify the findings that you want to assign attributes to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFindingArns

        public AddAttributesToFindingsRequest withFindingArns​(Collection<String> findingArns)

        The ARNs that specify the findings that you want to assign attributes to.

        Parameters:
        findingArns - The ARNs that specify the findings that you want to assign attributes to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttributes

        public List<Attribute> getAttributes()

        The array of attributes that you want to assign to specified findings.

        Returns:
        The array of attributes that you want to assign to specified findings.
      • setAttributes

        public void setAttributes​(Collection<Attribute> attributes)

        The array of attributes that you want to assign to specified findings.

        Parameters:
        attributes - The array of attributes that you want to assign to specified findings.
      • withAttributes

        public AddAttributesToFindingsRequest withAttributes​(Attribute... attributes)

        The array of attributes that you want to assign to specified findings.

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

        Parameters:
        attributes - The array of attributes that you want to assign to specified findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAttributes

        public AddAttributesToFindingsRequest withAttributes​(Collection<Attribute> attributes)

        The array of attributes that you want to assign to specified findings.

        Parameters:
        attributes - The array of attributes that you want to assign to specified findings.
        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