Class AssessmentTargetFilter

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

public class AssessmentTargetFilter extends Object implements Serializable, Cloneable

Used as the request parameter in the ListAssessmentTargets action.

See Also:
  • Constructor Details

    • AssessmentTargetFilter

      public AssessmentTargetFilter()
  • Method Details

    • setAssessmentTargetNamePattern

      public void setAssessmentTargetNamePattern(String assessmentTargetNamePattern)

      For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.

      Parameters:
      assessmentTargetNamePattern - For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.
    • getAssessmentTargetNamePattern

      public String getAssessmentTargetNamePattern()

      For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.

      Returns:
      For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.
    • withAssessmentTargetNamePattern

      public AssessmentTargetFilter withAssessmentTargetNamePattern(String assessmentTargetNamePattern)

      For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.

      Parameters:
      assessmentTargetNamePattern - For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.
      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

      public AssessmentTargetFilter clone()
      Overrides:
      clone in class Object