public static interface Evidence.Builder extends SdkPojo, CopyableBuilder<Evidence.Builder,Evidence>
| Modifier and Type | Method and Description |
|---|---|
Evidence.Builder |
assessmentReportSelection(String assessmentReportSelection)
Specifies whether the evidence is included in the assessment report.
|
Evidence.Builder |
attributes(Map<String,String> attributes)
The names and values that are used by the evidence event.
|
Evidence.Builder |
awsAccountId(String awsAccountId)
The identifier for the Amazon Web Services account.
|
Evidence.Builder |
awsOrganization(String awsOrganization)
The Amazon Web Services account that the evidence is collected from, and its organization path.
|
Evidence.Builder |
complianceCheck(String complianceCheck)
The evaluation status for automated evidence that falls under the compliance check category.
|
Evidence.Builder |
dataSource(String dataSource)
The data source where the evidence was collected from.
|
Evidence.Builder |
eventName(String eventName)
The name of the evidence event.
|
Evidence.Builder |
eventSource(String eventSource)
The Amazon Web Service that the evidence is collected from.
|
Evidence.Builder |
evidenceAwsAccountId(String evidenceAwsAccountId)
The identifier for the Amazon Web Services account.
|
Evidence.Builder |
evidenceByType(String evidenceByType)
The type of automated evidence.
|
Evidence.Builder |
evidenceFolderId(String evidenceFolderId)
The identifier for the folder that the evidence is stored in.
|
Evidence.Builder |
iamId(String iamId)
The unique identifier for the user or role that's associated with the evidence.
|
Evidence.Builder |
id(String id)
The identifier for the evidence.
|
Evidence.Builder |
resourcesIncluded(Collection<Resource> resourcesIncluded)
The list of resources that are assessed to generate the evidence.
|
Evidence.Builder |
resourcesIncluded(Consumer<Resource.Builder>... resourcesIncluded)
The list of resources that are assessed to generate the evidence.
|
Evidence.Builder |
resourcesIncluded(Resource... resourcesIncluded)
The list of resources that are assessed to generate the evidence.
|
Evidence.Builder |
time(Instant time)
The timestamp that represents when the evidence was collected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEvidence.Builder dataSource(String dataSource)
The data source where the evidence was collected from.
dataSource - The data source where the evidence was collected from.Evidence.Builder evidenceAwsAccountId(String evidenceAwsAccountId)
The identifier for the Amazon Web Services account.
evidenceAwsAccountId - The identifier for the Amazon Web Services account.Evidence.Builder time(Instant time)
The timestamp that represents when the evidence was collected.
time - The timestamp that represents when the evidence was collected.Evidence.Builder eventSource(String eventSource)
The Amazon Web Service that the evidence is collected from.
eventSource - The Amazon Web Service that the evidence is collected from.Evidence.Builder eventName(String eventName)
The name of the evidence event.
eventName - The name of the evidence event.Evidence.Builder evidenceByType(String evidenceByType)
The type of automated evidence.
evidenceByType - The type of automated evidence.Evidence.Builder resourcesIncluded(Collection<Resource> resourcesIncluded)
The list of resources that are assessed to generate the evidence.
resourcesIncluded - The list of resources that are assessed to generate the evidence.Evidence.Builder resourcesIncluded(Resource... resourcesIncluded)
The list of resources that are assessed to generate the evidence.
resourcesIncluded - The list of resources that are assessed to generate the evidence.Evidence.Builder resourcesIncluded(Consumer<Resource.Builder>... resourcesIncluded)
The list of resources that are assessed to generate the evidence.
This is a convenience method that creates an instance of theResource.Builder avoiding the need to create one
manually via Resource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #resourcesIncluded(List.
resourcesIncluded - a consumer that will call methods on
Resource.Builder#resourcesIncluded(java.util.Collection) Evidence.Builder attributes(Map<String,String> attributes)
The names and values that are used by the evidence event. This includes an attribute name (such as
allowUsersToChangePassword) and value (such as true or false).
attributes - The names and values that are used by the evidence event. This includes an attribute name (such as
allowUsersToChangePassword) and value (such as true or false).Evidence.Builder iamId(String iamId)
The unique identifier for the user or role that's associated with the evidence.
iamId - The unique identifier for the user or role that's associated with the evidence.Evidence.Builder complianceCheck(String complianceCheck)
The evaluation status for automated evidence that falls under the compliance check category.
Audit Manager classes evidence as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes evidence as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that evidence. This is the case if the evidence uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the evidence uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
complianceCheck - The evaluation status for automated evidence that falls under the compliance check category.
Audit Manager classes evidence as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
Audit Manager classes evidence as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that evidence. This is the case if the evidence uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the evidence uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
Evidence.Builder awsOrganization(String awsOrganization)
The Amazon Web Services account that the evidence is collected from, and its organization path.
awsOrganization - The Amazon Web Services account that the evidence is collected from, and its organization path.Evidence.Builder awsAccountId(String awsAccountId)
The identifier for the Amazon Web Services account.
awsAccountId - The identifier for the Amazon Web Services account.Evidence.Builder evidenceFolderId(String evidenceFolderId)
The identifier for the folder that the evidence is stored in.
evidenceFolderId - The identifier for the folder that the evidence is stored in.Evidence.Builder id(String id)
The identifier for the evidence.
id - The identifier for the evidence.Evidence.Builder assessmentReportSelection(String assessmentReportSelection)
Specifies whether the evidence is included in the assessment report.
assessmentReportSelection - Specifies whether the evidence is included in the assessment report.Copyright © 2023. All rights reserved.