Class AddAttributesToFindingsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.inspector.model.AddAttributesToFindingsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class AddAttributesToFindingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • AddAttributesToFindingsRequest

      public AddAttributesToFindingsRequest()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: