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 InspectorServiceAttributesclone()booleanequals(Object obj)StringgetAssessmentRunArn()The ARN of the assessment run during which the finding is generated.StringgetRulesPackageArn()The ARN of the rules package that is used to generate the finding.IntegergetSchemaVersion()The schema version of this data type.inthashCode()voidsetAssessmentRunArn(String assessmentRunArn)The ARN of the assessment run during which the finding is generated.voidsetRulesPackageArn(String rulesPackageArn)The ARN of the rules package that is used to generate the finding.voidsetSchemaVersion(Integer schemaVersion)The schema version of this data type.StringtoString()Returns a string representation of this object; useful for testing and debugging.InspectorServiceAttributeswithAssessmentRunArn(String assessmentRunArn)The ARN of the assessment run during which the finding is generated.InspectorServiceAttributeswithRulesPackageArn(String rulesPackageArn)The ARN of the rules package that is used to generate the finding.InspectorServiceAttributeswithSchemaVersion(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InspectorServiceAttributes clone()
-
-