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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InspectorServiceAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspectorServiceAttributes
clone()
boolean
equals(Object obj)
String
getAssessmentRunArn()
The ARN of the assessment run during which the finding is generated.String
getRulesPackageArn()
The ARN of the rules package that is used to generate the finding.Integer
getSchemaVersion()
The schema version of this data type.int
hashCode()
void
setAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.void
setRulesPackageArn(String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.void
setSchemaVersion(Integer schemaVersion)
The schema version of this data type.String
toString()
Returns a string representation of this object; useful for testing and debugging.InspectorServiceAttributes
withAssessmentRunArn(String assessmentRunArn)
The ARN of the assessment run during which the finding is generated.InspectorServiceAttributes
withRulesPackageArn(String rulesPackageArn)
The ARN of the rules package that is used to generate the finding.InspectorServiceAttributes
withSchemaVersion(Integer schemaVersion)
The schema version of this data type.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InspectorServiceAttributes clone()
-
-