public class Assessment extends Object implements Serializable, Cloneable
Contains information about an Inspector assessment.
This data type is used as the response element in the DescribeAssessment action.
Constructor and Description |
---|
Assessment() |
Modifier and Type | Method and Description |
---|---|
Assessment |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationArn()
The ARN of the application that corresponds to this assessment.
|
String |
getAssessmentArn()
The ARN of the assessment.
|
String |
getAssessmentName()
The name of the assessment.
|
String |
getAssessmentState()
The state of the assessment.
|
Boolean |
getDataCollected()
Boolean value (true or false) specifying whether the data collection
process is completed.
|
Integer |
getDurationInSeconds()
The assessment duration in seconds.
|
Date |
getEndTime()
The assessment end time.
|
String |
getFailureMessage()
This data type property is not currently used.
|
Date |
getStartTime()
The assessment start time.
|
List<Attribute> |
getUserAttributesForFindings()
The user-defined attributes that are assigned to every generated finding.
|
int |
hashCode() |
Boolean |
isDataCollected()
Boolean value (true or false) specifying whether the data collection
process is completed.
|
void |
setApplicationArn(String applicationArn)
The ARN of the application that corresponds to this assessment.
|
void |
setAssessmentArn(String assessmentArn)
The ARN of the assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the assessment.
|
void |
setAssessmentState(String assessmentState)
The state of the assessment.
|
void |
setDataCollected(Boolean dataCollected)
Boolean value (true or false) specifying whether the data collection
process is completed.
|
void |
setDurationInSeconds(Integer durationInSeconds)
The assessment duration in seconds.
|
void |
setEndTime(Date endTime)
The assessment end time.
|
void |
setFailureMessage(String failureMessage)
This data type property is not currently used.
|
void |
setStartTime(Date startTime)
The assessment start time.
|
void |
setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Assessment |
withApplicationArn(String applicationArn)
The ARN of the application that corresponds to this assessment.
|
Assessment |
withAssessmentArn(String assessmentArn)
The ARN of the assessment.
|
Assessment |
withAssessmentName(String assessmentName)
The name of the assessment.
|
Assessment |
withAssessmentState(String assessmentState)
The state of the assessment.
|
Assessment |
withDataCollected(Boolean dataCollected)
Boolean value (true or false) specifying whether the data collection
process is completed.
|
Assessment |
withDurationInSeconds(Integer durationInSeconds)
The assessment duration in seconds.
|
Assessment |
withEndTime(Date endTime)
The assessment end time.
|
Assessment |
withFailureMessage(String failureMessage)
This data type property is not currently used.
|
Assessment |
withStartTime(Date startTime)
The assessment start time.
|
Assessment |
withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
|
Assessment |
withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
|
public void setAssessmentArn(String assessmentArn)
The ARN of the assessment.
assessmentArn
- The ARN of the assessment.public String getAssessmentArn()
The ARN of the assessment.
public Assessment withAssessmentArn(String assessmentArn)
The ARN of the assessment.
assessmentArn
- The ARN of the assessment.public void setAssessmentName(String assessmentName)
The name of the assessment.
assessmentName
- The name of the assessment.public String getAssessmentName()
The name of the assessment.
public Assessment withAssessmentName(String assessmentName)
The name of the assessment.
assessmentName
- The name of the assessment.public void setApplicationArn(String applicationArn)
The ARN of the application that corresponds to this assessment.
applicationArn
- The ARN of the application that corresponds to this assessment.public String getApplicationArn()
The ARN of the application that corresponds to this assessment.
public Assessment withApplicationArn(String applicationArn)
The ARN of the application that corresponds to this assessment.
applicationArn
- The ARN of the application that corresponds to this assessment.public void setAssessmentState(String assessmentState)
The state of the assessment. Values can be set to Created, Collecting Data, Stopping, and Completed.
assessmentState
- The state of the assessment. Values can be set to Created,
Collecting Data, Stopping, and Completed.public String getAssessmentState()
The state of the assessment. Values can be set to Created, Collecting Data, Stopping, and Completed.
public Assessment withAssessmentState(String assessmentState)
The state of the assessment. Values can be set to Created, Collecting Data, Stopping, and Completed.
assessmentState
- The state of the assessment. Values can be set to Created,
Collecting Data, Stopping, and Completed.public void setFailureMessage(String failureMessage)
This data type property is not currently used.
failureMessage
- This data type property is not currently used.public String getFailureMessage()
This data type property is not currently used.
public Assessment withFailureMessage(String failureMessage)
This data type property is not currently used.
failureMessage
- This data type property is not currently used.public void setDataCollected(Boolean dataCollected)
Boolean value (true or false) specifying whether the data collection process is completed.
dataCollected
- Boolean value (true or false) specifying whether the data
collection process is completed.public Boolean getDataCollected()
Boolean value (true or false) specifying whether the data collection process is completed.
public Assessment withDataCollected(Boolean dataCollected)
Boolean value (true or false) specifying whether the data collection process is completed.
dataCollected
- Boolean value (true or false) specifying whether the data
collection process is completed.public Boolean isDataCollected()
Boolean value (true or false) specifying whether the data collection process is completed.
public void setStartTime(Date startTime)
The assessment start time.
startTime
- The assessment start time.public Date getStartTime()
The assessment start time.
public Assessment withStartTime(Date startTime)
The assessment start time.
startTime
- The assessment start time.public void setEndTime(Date endTime)
The assessment end time.
endTime
- The assessment end time.public Date getEndTime()
The assessment end time.
public Assessment withEndTime(Date endTime)
The assessment end time.
endTime
- The assessment end time.public void setDurationInSeconds(Integer durationInSeconds)
The assessment duration in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
durationInSeconds
- The assessment duration in seconds. The default value is 3600
seconds (one hour). The maximum value is 86400 seconds (one day).public Integer getDurationInSeconds()
The assessment duration in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
public Assessment withDurationInSeconds(Integer durationInSeconds)
The assessment duration in seconds. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).
durationInSeconds
- The assessment duration in seconds. The default value is 3600
seconds (one hour). The maximum value is 86400 seconds (one day).public List<Attribute> getUserAttributesForFindings()
The user-defined attributes that are assigned to every generated finding.
public void setUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
userAttributesForFindings
- The user-defined attributes that are assigned to every generated
finding.public Assessment withUserAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
NOTE: This method appends the values to the existing list (if
any). Use setUserAttributesForFindings(java.util.Collection)
or
withUserAttributesForFindings(java.util.Collection)
if you want
to override the existing values.
userAttributesForFindings
- The user-defined attributes that are assigned to every generated
finding.public Assessment withUserAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
userAttributesForFindings
- The user-defined attributes that are assigned to every generated
finding.public String toString()
toString
in class Object
Object.toString()
public Assessment clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.