StructuredPojo
, ToCopyableBuilder<AssessmentRun.Builder,AssessmentRun>
@Generated("software.amazon.awssdk:codegen") public class AssessmentRun extends Object implements StructuredPojo, ToCopyableBuilder<AssessmentRun.Builder,AssessmentRun>
A snapshot of an Amazon Inspector assessment run that contains the findings of the assessment run .
Used as the response element in the DescribeAssessmentRuns action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
AssessmentRun.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The ARN of the assessment run.
|
String |
assessmentTemplateArn() |
The ARN of the assessment template that is associated with the assessment run.
|
static AssessmentRun.Builder |
builder() |
|
Date |
completedAt() |
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
|
Date |
createdAt() |
The time when StartAssessmentRun was called.
|
Boolean |
dataCollected() |
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is
completed.
|
Integer |
durationInSeconds() |
The duration of the assessment run.
|
boolean |
equals(Object obj) |
|
Map<String,Integer> |
findingCounts() |
Provides a total count of generated findings per severity.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The auto-generated name for the assessment run.
|
List<AssessmentRunNotification> |
notifications() |
A list of notifications for the event subscriptions.
|
List<String> |
rulesPackageArns() |
The rules packages selected for the assessment run.
|
static Class<? extends AssessmentRun.Builder> |
serializableBuilderClass() |
|
Date |
startedAt() |
The time when StartAssessmentRun was called.
|
String |
state() |
The state of the assessment run.
|
Date |
stateChangedAt() |
The last time when the assessment run's state changed.
|
List<AssessmentRunStateChange> |
stateChanges() |
A list of the assessment run state changes.
|
AssessmentRun.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
List<Attribute> |
userAttributesForFindings() |
The user-defined attributes that are assigned to every generated finding.
|
public String arn()
The ARN of the assessment run.
public String name()
The auto-generated name for the assessment run.
public String assessmentTemplateArn()
The ARN of the assessment template that is associated with the assessment run.
public String state()
The state of the assessment run.
AssessmentRunState
public Integer durationInSeconds()
The duration of the assessment run.
public List<String> rulesPackageArns()
The rules packages selected for the assessment run.
public List<Attribute> userAttributesForFindings()
The user-defined attributes that are assigned to every generated finding.
public Date createdAt()
The time when StartAssessmentRun was called.
public Date startedAt()
The time when StartAssessmentRun was called.
public Date completedAt()
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
public Date stateChangedAt()
The last time when the assessment run's state changed.
public Boolean dataCollected()
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
public List<AssessmentRunStateChange> stateChanges()
A list of the assessment run state changes.
public List<AssessmentRunNotification> notifications()
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
public Map<String,Integer> findingCounts()
Provides a total count of generated findings per severity.
public AssessmentRun.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AssessmentRun.Builder,AssessmentRun>
public static AssessmentRun.Builder builder()
public static Class<? extends AssessmentRun.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.