public static interface FindingSummary.Builder extends SdkPojo, CopyableBuilder<FindingSummary.Builder,FindingSummary>
| Modifier and Type | Method and Description |
|---|---|
FindingSummary.Builder |
action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to use.
|
FindingSummary.Builder |
action(String... action)
The action in the analyzed policy statement that an external principal has permission to use.
|
FindingSummary.Builder |
analyzedAt(Instant analyzedAt)
The time at which the resource-based policy that generated the finding was analyzed.
|
FindingSummary.Builder |
condition(Map<String,String> condition)
The condition in the analyzed policy statement that resulted in a finding.
|
FindingSummary.Builder |
createdAt(Instant createdAt)
The time at which the finding was created.
|
FindingSummary.Builder |
error(String error)
The error that resulted in an Error finding.
|
FindingSummary.Builder |
id(String id)
The ID of the finding.
|
FindingSummary.Builder |
isPublic(Boolean isPublic)
Indicates whether the finding reports a resource that has a policy that allows public access.
|
FindingSummary.Builder |
principal(Map<String,String> principal)
The external principal that has access to a resource within the zone of trust.
|
FindingSummary.Builder |
resource(String resource)
The resource that the external principal has access to.
|
FindingSummary.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
FindingSummary.Builder |
resourceType(ResourceType resourceType)
The type of the resource that the external principal has access to.
|
FindingSummary.Builder |
resourceType(String resourceType)
The type of the resource that the external principal has access to.
|
FindingSummary.Builder |
sources(Collection<FindingSource> sources)
The sources of the finding.
|
FindingSummary.Builder |
sources(Consumer<FindingSource.Builder>... sources)
The sources of the finding.
|
FindingSummary.Builder |
sources(FindingSource... sources)
The sources of the finding.
|
FindingSummary.Builder |
status(FindingStatus status)
The status of the finding.
|
FindingSummary.Builder |
status(String status)
The status of the finding.
|
FindingSummary.Builder |
updatedAt(Instant updatedAt)
The time at which the finding was most recently updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFindingSummary.Builder id(String id)
The ID of the finding.
id - The ID of the finding.FindingSummary.Builder principal(Map<String,String> principal)
The external principal that has access to a resource within the zone of trust.
principal - The external principal that has access to a resource within the zone of trust.FindingSummary.Builder action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to use.
action - The action in the analyzed policy statement that an external principal has permission to use.FindingSummary.Builder action(String... action)
The action in the analyzed policy statement that an external principal has permission to use.
action - The action in the analyzed policy statement that an external principal has permission to use.FindingSummary.Builder resource(String resource)
The resource that the external principal has access to.
resource - The resource that the external principal has access to.FindingSummary.Builder isPublic(Boolean isPublic)
Indicates whether the finding reports a resource that has a policy that allows public access.
isPublic - Indicates whether the finding reports a resource that has a policy that allows public access.FindingSummary.Builder resourceType(String resourceType)
The type of the resource that the external principal has access to.
resourceType - The type of the resource that the external principal has access to.ResourceType,
ResourceTypeFindingSummary.Builder resourceType(ResourceType resourceType)
The type of the resource that the external principal has access to.
resourceType - The type of the resource that the external principal has access to.ResourceType,
ResourceTypeFindingSummary.Builder condition(Map<String,String> condition)
The condition in the analyzed policy statement that resulted in a finding.
condition - The condition in the analyzed policy statement that resulted in a finding.FindingSummary.Builder createdAt(Instant createdAt)
The time at which the finding was created.
createdAt - The time at which the finding was created.FindingSummary.Builder analyzedAt(Instant analyzedAt)
The time at which the resource-based policy that generated the finding was analyzed.
analyzedAt - The time at which the resource-based policy that generated the finding was analyzed.FindingSummary.Builder updatedAt(Instant updatedAt)
The time at which the finding was most recently updated.
updatedAt - The time at which the finding was most recently updated.FindingSummary.Builder status(String status)
The status of the finding.
status - The status of the finding.FindingStatus,
FindingStatusFindingSummary.Builder status(FindingStatus status)
The status of the finding.
status - The status of the finding.FindingStatus,
FindingStatusFindingSummary.Builder resourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.FindingSummary.Builder error(String error)
The error that resulted in an Error finding.
error - The error that resulted in an Error finding.FindingSummary.Builder sources(Collection<FindingSource> sources)
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
sources - The sources of the finding. This indicates how the access that generated the finding is granted. It is
populated for Amazon S3 bucket findings.FindingSummary.Builder sources(FindingSource... sources)
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
sources - The sources of the finding. This indicates how the access that generated the finding is granted. It is
populated for Amazon S3 bucket findings.FindingSummary.Builder sources(Consumer<FindingSource.Builder>... sources)
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
This is a convenience method that creates an instance of theFindingSource.Builder avoiding the need to
create one manually via FindingSource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sources(List.
sources - a consumer that will call methods on
FindingSource.Builder#sources(java.util.Collection) Copyright © 2022. All rights reserved.