public class InspectorServiceAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used in the Finding data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
assessmentRunArn
The ARN of the assessment run during which the finding is generated.
|
private java.lang.String |
rulesPackageArn
The ARN of the rules package that is used to generate the finding.
|
private java.lang.Integer |
schemaVersion
The schema version of this data type.
|
Constructor and Description |
---|
InspectorServiceAttributes() |
Modifier and Type | Method and Description |
---|---|
InspectorServiceAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssessmentRunArn()
The ARN of the assessment run during which the finding is generated.
|
java.lang.String |
getRulesPackageArn()
The ARN of the rules package that is used to generate the finding.
|
java.lang.Integer |
getSchemaVersion()
The schema version of this data type.
|
int |
hashCode() |
void |
setAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.
|
void |
setRulesPackageArn(java.lang.String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.
|
void |
setSchemaVersion(java.lang.Integer schemaVersion)
The schema version of this data type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
InspectorServiceAttributes |
withAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.
|
InspectorServiceAttributes |
withRulesPackageArn(java.lang.String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.
|
InspectorServiceAttributes |
withSchemaVersion(java.lang.Integer schemaVersion)
The schema version of this data type.
|
private java.lang.Integer schemaVersion
The schema version of this data type.
private java.lang.String assessmentRunArn
The ARN of the assessment run during which the finding is generated.
private java.lang.String rulesPackageArn
The ARN of the rules package that is used to generate the finding.
public void setSchemaVersion(java.lang.Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public java.lang.Integer getSchemaVersion()
The schema version of this data type.
public InspectorServiceAttributes withSchemaVersion(java.lang.Integer schemaVersion)
The schema version of this data type.
schemaVersion
- The schema version of this data type.public void setAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.
assessmentRunArn
- The ARN of the assessment run during which the finding is
generated.public java.lang.String getAssessmentRunArn()
The ARN of the assessment run during which the finding is generated.
public InspectorServiceAttributes withAssessmentRunArn(java.lang.String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.
assessmentRunArn
- The ARN of the assessment run during which the finding is
generated.public void setRulesPackageArn(java.lang.String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.
rulesPackageArn
- The ARN of the rules package that is used to generate the finding.public java.lang.String getRulesPackageArn()
The ARN of the rules package that is used to generate the finding.
public InspectorServiceAttributes withRulesPackageArn(java.lang.String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.
rulesPackageArn
- The ARN of the rules package that is used to generate the finding.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public InspectorServiceAttributes clone()
clone
in class java.lang.Object