Class InspectorServiceAttributes

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

public class InspectorServiceAttributes extends Object implements Serializable, Cloneable

This data type is used in the Finding data type.

See Also:
  • Constructor Details

    • InspectorServiceAttributes

      public InspectorServiceAttributes()
  • Method Details

    • setSchemaVersion

      public void setSchemaVersion(Integer schemaVersion)

      The schema version of this data type.

      Parameters:
      schemaVersion - The schema version of this data type.
    • getSchemaVersion

      public Integer getSchemaVersion()

      The schema version of this data type.

      Returns:
      The schema version of this data type.
    • withSchemaVersion

      public InspectorServiceAttributes withSchemaVersion(Integer schemaVersion)

      The schema version of this data type.

      Parameters:
      schemaVersion - The schema version of this data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAssessmentRunArn

      public void setAssessmentRunArn(String assessmentRunArn)

      The ARN of the assessment run during which the finding is generated.

      Parameters:
      assessmentRunArn - The ARN of the assessment run during which the finding is generated.
    • getAssessmentRunArn

      public String getAssessmentRunArn()

      The ARN of the assessment run during which the finding is generated.

      Returns:
      The ARN of the assessment run during which the finding is generated.
    • withAssessmentRunArn

      public InspectorServiceAttributes withAssessmentRunArn(String assessmentRunArn)

      The ARN of the assessment run during which the finding is generated.

      Parameters:
      assessmentRunArn - The ARN of the assessment run during which the finding is generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setRulesPackageArn

      public void setRulesPackageArn(String rulesPackageArn)

      The ARN of the rules package that is used to generate the finding.

      Parameters:
      rulesPackageArn - The ARN of the rules package that is used to generate the finding.
    • getRulesPackageArn

      public String getRulesPackageArn()

      The ARN of the rules package that is used to generate the finding.

      Returns:
      The ARN of the rules package that is used to generate the finding.
    • withRulesPackageArn

      public InspectorServiceAttributes withRulesPackageArn(String rulesPackageArn)

      The ARN of the rules package that is used to generate the finding.

      Parameters:
      rulesPackageArn - The ARN of the rules package that is used to generate the finding.
      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

      Overrides:
      clone in class Object