public static interface AssessmentRun.Builder extends CopyableBuilder<AssessmentRun.Builder,AssessmentRun>
| Modifier and Type | Method and 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(Instant completedAt)
The assessment run completion time that corresponds to the rules packages evaluation completion time or
failure.
|
AssessmentRun.Builder |
createdAt(Instant 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(AssessmentRunNotification... notifications)
A list of notifications for the event subscriptions.
|
AssessmentRun.Builder |
notifications(Collection<AssessmentRunNotification> notifications)
A list of notifications for the event subscriptions.
|
AssessmentRun.Builder |
notifications(Consumer<AssessmentRunNotification.Builder>... notifications)
A list of notifications for the event subscriptions.
|
AssessmentRun.Builder |
rulesPackageArns(Collection<String> rulesPackageArns)
The rules packages selected for the assessment run.
|
AssessmentRun.Builder |
rulesPackageArns(String... rulesPackageArns)
The rules packages selected for the assessment run.
|
AssessmentRun.Builder |
startedAt(Instant startedAt)
The time when StartAssessmentRun was called.
|
AssessmentRun.Builder |
state(AssessmentRunState state)
The state of the assessment run.
|
AssessmentRun.Builder |
state(String state)
The state of the assessment run.
|
AssessmentRun.Builder |
stateChangedAt(Instant stateChangedAt)
The last time when the assessment run's state changed.
|
AssessmentRun.Builder |
stateChanges(AssessmentRunStateChange... stateChanges)
A list of the assessment run state changes.
|
AssessmentRun.Builder |
stateChanges(Collection<AssessmentRunStateChange> stateChanges)
A list of the assessment run state changes.
|
AssessmentRun.Builder |
stateChanges(Consumer<AssessmentRunStateChange.Builder>... stateChanges)
A list of the assessment run state changes.
|
AssessmentRun.Builder |
userAttributesForFindings(Attribute... userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
|
AssessmentRun.Builder |
userAttributesForFindings(Collection<Attribute> userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
|
AssessmentRun.Builder |
userAttributesForFindings(Consumer<Attribute.Builder>... 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.AssessmentRunState,
AssessmentRunStateAssessmentRun.Builder state(AssessmentRunState state)
The state of the assessment run.
state - The state of the assessment run.AssessmentRunState,
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.
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.
userAttributesForFindings - The user-defined attributes that are assigned to every generated finding.AssessmentRun.Builder userAttributesForFindings(Consumer<Attribute.Builder>... userAttributesForFindings)
The user-defined attributes that are assigned to every generated finding.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #userAttributesForFindings(List) .userAttributesForFindings - a consumer that will call methods on List.Builder #userAttributesForFindings(List) AssessmentRun.Builder createdAt(Instant createdAt)
The time when StartAssessmentRun was called.
createdAt - The time when StartAssessmentRun was called.AssessmentRun.Builder startedAt(Instant startedAt)
The time when StartAssessmentRun was called.
startedAt - The time when StartAssessmentRun was called.AssessmentRun.Builder completedAt(Instant 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(Instant 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.
stateChanges - A list of the assessment run state changes.AssessmentRun.Builder stateChanges(Consumer<AssessmentRunStateChange.Builder>... stateChanges)
A list of the assessment run state changes.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #stateChanges(List) .stateChanges - a consumer that will call methods on List.Builder #stateChanges(List) 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.
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(Consumer<AssessmentRunNotification.Builder>... notifications)
A list of notifications for the event subscriptions. A notification about a particular generated finding is added to this list only once.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #notifications(List) .notifications - a consumer that will call methods on List.Builder #notifications(List) 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.