public static interface AnalyzedResource.Builder extends SdkPojo, CopyableBuilder<AnalyzedResource.Builder,AnalyzedResource>
| Modifier and Type | Method and Description |
|---|---|
AnalyzedResource.Builder |
actions(Collection<String> actions)
The actions that an external principal is granted permission to use by the policy that generated the finding.
|
AnalyzedResource.Builder |
actions(String... actions)
The actions that an external principal is granted permission to use by the policy that generated the finding.
|
AnalyzedResource.Builder |
analyzedAt(Instant analyzedAt)
The time at which the resource was analyzed.
|
AnalyzedResource.Builder |
createdAt(Instant createdAt)
The time at which the finding was created.
|
AnalyzedResource.Builder |
error(String error)
An error message.
|
AnalyzedResource.Builder |
isPublic(Boolean isPublic)
Indicates whether the policy that generated the finding grants public access to the resource.
|
AnalyzedResource.Builder |
resourceArn(String resourceArn)
The ARN of the resource that was analyzed.
|
AnalyzedResource.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
AnalyzedResource.Builder |
resourceType(ResourceType resourceType)
The type of the resource that was analyzed.
|
AnalyzedResource.Builder |
resourceType(String resourceType)
The type of the resource that was analyzed.
|
AnalyzedResource.Builder |
sharedVia(Collection<String> sharedVia)
Indicates how the access that generated the finding is granted.
|
AnalyzedResource.Builder |
sharedVia(String... sharedVia)
Indicates how the access that generated the finding is granted.
|
AnalyzedResource.Builder |
status(FindingStatus status)
The current status of the finding generated from the analyzed resource.
|
AnalyzedResource.Builder |
status(String status)
The current status of the finding generated from the analyzed resource.
|
AnalyzedResource.Builder |
updatedAt(Instant updatedAt)
The time at which the finding was updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnalyzedResource.Builder resourceArn(String resourceArn)
The ARN of the resource that was analyzed.
resourceArn - The ARN of the resource that was analyzed.AnalyzedResource.Builder resourceType(String resourceType)
The type of the resource that was analyzed.
resourceType - The type of the resource that was analyzed.ResourceType,
ResourceTypeAnalyzedResource.Builder resourceType(ResourceType resourceType)
The type of the resource that was analyzed.
resourceType - The type of the resource that was analyzed.ResourceType,
ResourceTypeAnalyzedResource.Builder createdAt(Instant createdAt)
The time at which the finding was created.
createdAt - The time at which the finding was created.AnalyzedResource.Builder analyzedAt(Instant analyzedAt)
The time at which the resource was analyzed.
analyzedAt - The time at which the resource was analyzed.AnalyzedResource.Builder updatedAt(Instant updatedAt)
The time at which the finding was updated.
updatedAt - The time at which the finding was updated.AnalyzedResource.Builder isPublic(Boolean isPublic)
Indicates whether the policy that generated the finding grants public access to the resource.
isPublic - Indicates whether the policy that generated the finding grants public access to the resource.AnalyzedResource.Builder actions(Collection<String> actions)
The actions that an external principal is granted permission to use by the policy that generated the finding.
actions - The actions that an external principal is granted permission to use by the policy that generated the
finding.AnalyzedResource.Builder actions(String... actions)
The actions that an external principal is granted permission to use by the policy that generated the finding.
actions - The actions that an external principal is granted permission to use by the policy that generated the
finding.AnalyzedResource.Builder sharedVia(Collection<String> sharedVia)
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
sharedVia - Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket
findings.AnalyzedResource.Builder sharedVia(String... sharedVia)
Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
sharedVia - Indicates how the access that generated the finding is granted. This is populated for Amazon S3 bucket
findings.AnalyzedResource.Builder status(String status)
The current status of the finding generated from the analyzed resource.
status - The current status of the finding generated from the analyzed resource.FindingStatus,
FindingStatusAnalyzedResource.Builder status(FindingStatus status)
The current status of the finding generated from the analyzed resource.
status - The current status of the finding generated from the analyzed resource.FindingStatus,
FindingStatusAnalyzedResource.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.AnalyzedResource.Builder error(String error)
An error message.
error - An error message.Copyright © 2023. All rights reserved.