public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
| Modifier and Type | Method and Description |
|---|---|
Finding.Builder |
action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to use.
|
Finding.Builder |
action(String... action)
The action in the analyzed policy statement that an external principal has permission to use.
|
Finding.Builder |
analyzedAt(Instant analyzedAt)
The time at which the resource was analyzed.
|
Finding.Builder |
condition(Map<String,String> condition)
The condition in the analyzed policy statement that resulted in a finding.
|
Finding.Builder |
createdAt(Instant createdAt)
The time at which the finding was generated.
|
Finding.Builder |
error(String error)
An error.
|
Finding.Builder |
id(String id)
The ID of the finding.
|
Finding.Builder |
isPublic(Boolean isPublic)
Indicates whether the policy that generated the finding allows public access to the resource.
|
Finding.Builder |
principal(Map<String,String> principal)
The external principal that access to a resource within the zone of trust.
|
Finding.Builder |
resource(String resource)
The resource that an external principal has access to.
|
Finding.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
The AWS account ID that owns the resource.
|
Finding.Builder |
resourceType(ResourceType resourceType)
The type of the resource reported in the finding.
|
Finding.Builder |
resourceType(String resourceType)
The type of the resource reported in the finding.
|
Finding.Builder |
sources(Collection<FindingSource> sources)
The sources of the finding.
|
Finding.Builder |
sources(Consumer<FindingSource.Builder>... sources)
The sources of the finding.
|
Finding.Builder |
sources(FindingSource... sources)
The sources of the finding.
|
Finding.Builder |
status(FindingStatus status)
The current status of the finding.
|
Finding.Builder |
status(String status)
The current status of the finding.
|
Finding.Builder |
updatedAt(Instant updatedAt)
The time at which the finding was updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFinding.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.Finding.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.Finding.Builder analyzedAt(Instant analyzedAt)
The time at which the resource was analyzed.
analyzedAt - The time at which the resource was analyzed.Finding.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.Finding.Builder createdAt(Instant createdAt)
The time at which the finding was generated.
createdAt - The time at which the finding was generated.Finding.Builder error(String error)
An error.
error - An error.Finding.Builder id(String id)
The ID of the finding.
id - The ID of the finding.Finding.Builder isPublic(Boolean isPublic)
Indicates whether the policy that generated the finding allows public access to the resource.
isPublic - Indicates whether the policy that generated the finding allows public access to the resource.Finding.Builder principal(Map<String,String> principal)
The external principal that access to a resource within the zone of trust.
principal - The external principal that access to a resource within the zone of trust.Finding.Builder resource(String resource)
The resource that an external principal has access to.
resource - The resource that an external principal has access to.Finding.Builder resourceOwnerAccount(String resourceOwnerAccount)
The AWS account ID that owns the resource.
resourceOwnerAccount - The AWS account ID that owns the resource.Finding.Builder resourceType(String resourceType)
The type of the resource reported in the finding.
resourceType - The type of the resource reported in the finding.ResourceType,
ResourceTypeFinding.Builder resourceType(ResourceType resourceType)
The type of the resource reported in the finding.
resourceType - The type of the resource reported in the finding.ResourceType,
ResourceTypeFinding.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.Finding.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.Finding.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 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 #sources(List) .sources - a consumer that will call methods on List.Builder #sources(List) Finding.Builder status(String status)
The current status of the finding.
status - The current status of the finding.FindingStatus,
FindingStatusFinding.Builder status(FindingStatus status)
The current status of the finding.
status - The current status of the finding.FindingStatus,
FindingStatusFinding.Builder updatedAt(Instant updatedAt)
The time at which the finding was updated.
updatedAt - The time at which the finding was updated.Copyright © 2020. All rights reserved.