Interface Evidence.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Evidence.Builder,
,Evidence> SdkBuilder<Evidence.Builder,
,Evidence> SdkPojo
- Enclosing class:
Evidence
-
Method Summary
Modifier and TypeMethodDescriptionassessmentReportSelection
(String assessmentReportSelection) Specifies whether the evidence is included in the assessment report.attributes
(Map<String, String> attributes) The names and values that are used by the evidence event.awsAccountId
(String awsAccountId) The identifier for the Amazon Web Services account.awsOrganization
(String awsOrganization) The Amazon Web Services account that the evidence is collected from, and its organization path.complianceCheck
(String complianceCheck) The evaluation status for automated evidence that falls under the compliance check category.dataSource
(String dataSource) The data source where the evidence was collected from.The name of the evidence event.eventSource
(String eventSource) The Amazon Web Services service that the evidence is collected from.evidenceAwsAccountId
(String evidenceAwsAccountId) The identifier for the Amazon Web Services account.evidenceByType
(String evidenceByType) The type of automated evidence.evidenceFolderId
(String evidenceFolderId) The identifier for the folder that the evidence is stored in.The unique identifier for the user or role that's associated with the evidence.The identifier for the evidence.resourcesIncluded
(Collection<Resource> resourcesIncluded) The list of resources that are assessed to generate the evidence.resourcesIncluded
(Consumer<Resource.Builder>... resourcesIncluded) The list of resources that are assessed to generate the evidence.resourcesIncluded
(Resource... resourcesIncluded) The list of resources that are assessed to generate the evidence.The timestamp that represents when the evidence was collected.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dataSource
The data source where the evidence was collected from.
- Parameters:
dataSource
- The data source where the evidence was collected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceAwsAccountId
The identifier for the Amazon Web Services account.
- Parameters:
evidenceAwsAccountId
- The identifier for the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
The timestamp that represents when the evidence was collected.
- Parameters:
time
- The timestamp that represents when the evidence was collected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSource
The Amazon Web Services service that the evidence is collected from.
- Parameters:
eventSource
- The Amazon Web Services service that the evidence is collected from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventName
The name of the evidence event.
- Parameters:
eventName
- The name of the evidence event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceByType
The type of automated evidence.
- Parameters:
evidenceByType
- The type of automated evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesIncluded
The list of resources that are assessed to generate the evidence.
- Parameters:
resourcesIncluded
- The list of resources that are assessed to generate the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesIncluded
The list of resources that are assessed to generate the evidence.
- Parameters:
resourcesIncluded
- The list of resources that are assessed to generate the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesIncluded(List<Resource>)
.- Parameters:
resourcesIncluded
- a consumer that will call methods onResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributes
The names and values that are used by the evidence event. This includes an attribute name (such as
allowUsersToChangePassword
) and value (such astrue
orfalse
).- Parameters:
attributes
- The names and values that are used by the evidence event. This includes an attribute name (such asallowUsersToChangePassword
) and value (such astrue
orfalse
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamId
The unique identifier for the user or role that's associated with the evidence.
- Parameters:
iamId
- The unique identifier for the user or role that's associated with the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
awsOrganization
The Amazon Web Services account that the evidence is collected from, and its organization path.
- Parameters:
awsOrganization
- The Amazon Web Services account that the evidence is collected from, and its organization path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsAccountId
The identifier for the Amazon Web Services account.
- Parameters:
awsAccountId
- The identifier for the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceFolderId
The identifier for the folder that the evidence is stored in.
- Parameters:
evidenceFolderId
- The identifier for the folder that the evidence is stored in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The identifier for the evidence.
- Parameters:
id
- The identifier for the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentReportSelection
Specifies whether the evidence is included in the assessment report.
- Parameters:
assessmentReportSelection
- Specifies whether the evidence is included in the assessment report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-