CopyableBuilder<AssessmentRun.Builder,AssessmentRun>, SdkBuilder<AssessmentRun.Builder,AssessmentRun>public static interface AssessmentRun.Builder extends CopyableBuilder<AssessmentRun.Builder,AssessmentRun>
| Modifier and Type | Method | Description |
|---|---|---|
AssessmentRun.Builder |
arn(String arn) |
The ARN of the assessment run.
|
AssessmentRun.Builder |
assessmentTemplateArn(String assessmentTemplateArn) |
The ARN of the assessment template that is associated with the assessment run.
|
AssessmentRun.Builder |
completedAt(Date completedAt) |
The assessment run completion time that corresponds to the rules packages evaluation completion time or
failure.
|
AssessmentRun.Builder |
createdAt(Date createdAt) |
The time when StartAssessmentRun was called.
|
AssessmentRun.Builder |
dataCollected(Boolean dataCollected) |
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is
completed.
|
AssessmentRun.Builder |
durationInSeconds(Integer durationInSeconds) |
The duration of the assessment run.
|
AssessmentRun.Builder |
findingCounts(Map<String,Integer> findingCounts) |
Provides a total count of generated findings per severity.
|
AssessmentRun.Builder |
name(String name) |
The auto-generated name for the assessment run.
|
AssessmentRun.Builder |
notifications(Collection<AssessmentRunNotification> notifications) |
A list of notifications for the event subscriptions.
|
AssessmentRun.Builder |
notifications(AssessmentRunNotification... notifications) |
A list of notifications for the event subscriptions.
|
AssessmentRun.Builder |
rulesPackageArns(String... rulesPackageArns) |
The rules packages selected for the assessment run.
|
AssessmentRun.Builder |
rulesPackageArns(Collection<String> rulesPackageArns) |
The rules packages selected for the assessment run.
|
AssessmentRun.Builder |
startedAt(Date startedAt) |
The time when StartAssessmentRun was called.
|
AssessmentRun.Builder |
state(String state) |
The state of the assessment run.
|
AssessmentRun.Builder |
state(AssessmentRunState state) |
The state of the assessment run.
|
AssessmentRun.Builder |
stateChangedAt(Date stateChangedAt) |
The last time when the assessment run's state changed.
|
AssessmentRun.Builder |
stateChanges(Collection<AssessmentRunStateChange> stateChanges) |
A list of the assessment run state changes.
|
AssessmentRun.Builder |
stateChanges(AssessmentRunStateChange... stateChanges) |
A list of the assessment run state changes.
|
AssessmentRun.Builder |
userAttributesForFindings(Collection<Attribute> userAttributesForFindings) |
The user-defined attributes that are assigned to every generated finding.
|
AssessmentRun.Builder |
userAttributesForFindings(Attribute... userAttributesForFindings) |
The user-defined attributes that are assigned to every generated finding.
|
copyapply, buildAssessmentRun.Builder arn(String arn)
The ARN of the assessment run.
arn - The ARN of the assessment run.AssessmentRun.Builder name(String name)
The auto-generated name for the assessment run.
name - The auto-generated name for the assessment run.AssessmentRun.Builder assessmentTemplateArn(String assessmentTemplateArn)
The ARN of the assessment template that is associated with the assessment run.
assessmentTemplateArn - The ARN of the assessment template that is associated with the assessment run.AssessmentRun.Builder state(String state)
The state of the assessment run.
state - The state of the assessment run.AssessmentRunStateAssessmentRun.Builder state(AssessmentRunState state)
The state of the assessment run.
state - The state of the assessment run.AssessmentRunStateAssessmentRun.Builder durationInSeconds(Integer durationInSeconds)
The duration of the assessment run.
durationInSeconds - The duration of the assessment run.AssessmentRun.Builder rulesPackageArns(Collection<String> rulesPackageArns)
The rules packages selected for the assessment run.
rulesPackageArns - The rules packages selected for the assessment run.AssessmentRun.Builder rulesPackageArns(String... rulesPackageArns)
The rules packages selected for the assessment run.
NOTE: This method appends the values to the existing list (if any). Use
#setRulesPackageArns(java.util.Collection) or #withRulesPackageArns(java.util.Collection) if
you want to override the existing values.
rulesPackageArns - The rules packages selected for the assessment run.AssessmentRun.Builder userAttributesForFindings(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.AssessmentRun.Builder userAttributesForFindings(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.AssessmentRun.Builder createdAt(Date createdAt)
The time when StartAssessmentRun was called.
createdAt - The time when StartAssessmentRun was called.AssessmentRun.Builder startedAt(Date startedAt)
The time when StartAssessmentRun was called.
startedAt - The time when StartAssessmentRun was called.AssessmentRun.Builder completedAt(Date completedAt)
The assessment run completion time that corresponds to the rules packages evaluation completion time or failure.
completedAt - The assessment run completion time that corresponds to the rules packages evaluation completion time
or failure.AssessmentRun.Builder stateChangedAt(Date stateChangedAt)
The last time when the assessment run's state changed.
stateChangedAt - The last time when the assessment run's state changed.AssessmentRun.Builder dataCollected(Boolean dataCollected)
A Boolean value (true or false) that specifies whether the process of collecting data from the agents is completed.
dataCollected - A Boolean value (true or false) that specifies whether the process of collecting data from the agents
is completed.AssessmentRun.Builder stateChanges(Collection<AssessmentRunStateChange> stateChanges)
A list of the assessment run state changes.
stateChanges - A list of the assessment run state changes.AssessmentRun.Builder stateChanges(AssessmentRunStateChange... stateChanges)
A list of the assessment run state changes.
NOTE: This method appends the values to the existing list (if any). Use
#setStateChanges(java.util.Collection) or #withStateChanges(java.util.Collection) if you want
to override the existing values.
stateChanges - A list of the assessment run state changes.AssessmentRun.Builder notifications(Collection<AssessmentRunNotification> notifications)
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
notifications - A list of notifications for the event subscriptions. A notification about a particular generated
finding is added to this list only once.AssessmentRun.Builder notifications(AssessmentRunNotification... notifications)
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
NOTE: This method appends the values to the existing list (if any). Use
#setNotifications(java.util.Collection) or #withNotifications(java.util.Collection) if you
want to override the existing values.
notifications - A list of notifications for the event subscriptions. A notification about a particular generated
finding is added to this list only once.AssessmentRun.Builder findingCounts(Map<String,Integer> findingCounts)
Provides a total count of generated findings per severity.
findingCounts - Provides a total count of generated findings per severity.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.