public static interface AccessPreviewFinding.Builder extends SdkPojo, CopyableBuilder<AccessPreviewFinding.Builder,AccessPreviewFinding>
| Modifier and Type | Method and Description |
|---|---|
AccessPreviewFinding.Builder |
action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to perform.
|
AccessPreviewFinding.Builder |
action(String... action)
The action in the analyzed policy statement that an external principal has permission to perform.
|
AccessPreviewFinding.Builder |
changeType(FindingChangeType changeType)
Provides context on how the access preview finding compares to existing access identified in IAM Access
Analyzer.
|
AccessPreviewFinding.Builder |
changeType(String changeType)
Provides context on how the access preview finding compares to existing access identified in IAM Access
Analyzer.
|
AccessPreviewFinding.Builder |
condition(Map<String,String> condition)
The condition in the analyzed policy statement that resulted in a finding.
|
AccessPreviewFinding.Builder |
createdAt(Instant createdAt)
The time at which the access preview finding was created.
|
AccessPreviewFinding.Builder |
error(String error)
An error.
|
AccessPreviewFinding.Builder |
existingFindingId(String existingFindingId)
The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.
|
AccessPreviewFinding.Builder |
existingFindingStatus(FindingStatus existingFindingStatus)
The existing status of the finding, provided only for existing findings.
|
AccessPreviewFinding.Builder |
existingFindingStatus(String existingFindingStatus)
The existing status of the finding, provided only for existing findings.
|
AccessPreviewFinding.Builder |
id(String id)
The ID of the access preview finding.
|
AccessPreviewFinding.Builder |
isPublic(Boolean isPublic)
Indicates whether the policy that generated the finding allows public access to the resource.
|
AccessPreviewFinding.Builder |
principal(Map<String,String> principal)
The external principal that has access to a resource within the zone of trust.
|
AccessPreviewFinding.Builder |
resource(String resource)
The resource that an external principal has access to.
|
AccessPreviewFinding.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
AccessPreviewFinding.Builder |
resourceType(ResourceType resourceType)
The type of the resource that can be accessed in the finding.
|
AccessPreviewFinding.Builder |
resourceType(String resourceType)
The type of the resource that can be accessed in the finding.
|
AccessPreviewFinding.Builder |
sources(Collection<FindingSource> sources)
The sources of the finding.
|
AccessPreviewFinding.Builder |
sources(Consumer<FindingSource.Builder>... sources)
The sources of the finding.
|
AccessPreviewFinding.Builder |
sources(FindingSource... sources)
The sources of the finding.
|
AccessPreviewFinding.Builder |
status(FindingStatus status)
The preview status of the finding.
|
AccessPreviewFinding.Builder |
status(String status)
The preview status of the finding.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccessPreviewFinding.Builder id(String id)
The ID of the access preview finding. This ID uniquely identifies the element in the list of access preview findings and is not related to the finding ID in Access Analyzer.
id - The ID of the access preview finding. This ID uniquely identifies the element in the list of access
preview findings and is not related to the finding ID in Access Analyzer.AccessPreviewFinding.Builder existingFindingId(String existingFindingId)
The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.
existingFindingId - The existing ID of the finding in IAM Access Analyzer, provided only for existing findings.AccessPreviewFinding.Builder existingFindingStatus(String existingFindingStatus)
The existing status of the finding, provided only for existing findings.
existingFindingStatus - The existing status of the finding, provided only for existing findings.FindingStatus,
FindingStatusAccessPreviewFinding.Builder existingFindingStatus(FindingStatus existingFindingStatus)
The existing status of the finding, provided only for existing findings.
existingFindingStatus - The existing status of the finding, provided only for existing findings.FindingStatus,
FindingStatusAccessPreviewFinding.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.AccessPreviewFinding.Builder action(Collection<String> action)
The action in the analyzed policy statement that an external principal has permission to perform.
action - The action in the analyzed policy statement that an external principal has permission to perform.AccessPreviewFinding.Builder action(String... action)
The action in the analyzed policy statement that an external principal has permission to perform.
action - The action in the analyzed policy statement that an external principal has permission to perform.AccessPreviewFinding.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.AccessPreviewFinding.Builder resource(String resource)
The resource that an external principal has access to. This is the resource associated with the access preview.
resource - The resource that an external principal has access to. This is the resource associated with the access
preview.AccessPreviewFinding.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.AccessPreviewFinding.Builder resourceType(String resourceType)
The type of the resource that can be accessed in the finding.
resourceType - The type of the resource that can be accessed in the finding.ResourceType,
ResourceTypeAccessPreviewFinding.Builder resourceType(ResourceType resourceType)
The type of the resource that can be accessed in the finding.
resourceType - The type of the resource that can be accessed in the finding.ResourceType,
ResourceTypeAccessPreviewFinding.Builder createdAt(Instant createdAt)
The time at which the access preview finding was created.
createdAt - The time at which the access preview finding was created.AccessPreviewFinding.Builder changeType(String changeType)
Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer.
New - The finding is for newly-introduced access.
Unchanged - The preview finding is an existing finding that would remain unchanged.
Changed - The preview finding is an existing finding with a change in status.
For example, a Changed finding with preview status Resolved and existing status
Active indicates the existing Active finding would become Resolved as
a result of the proposed permissions change.
changeType - Provides context on how the access preview finding compares to existing access identified in IAM
Access Analyzer.
New - The finding is for newly-introduced access.
Unchanged - The preview finding is an existing finding that would remain unchanged.
Changed - The preview finding is an existing finding with a change in status.
For example, a Changed finding with preview status Resolved and existing
status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.
FindingChangeType,
FindingChangeTypeAccessPreviewFinding.Builder changeType(FindingChangeType changeType)
Provides context on how the access preview finding compares to existing access identified in IAM Access Analyzer.
New - The finding is for newly-introduced access.
Unchanged - The preview finding is an existing finding that would remain unchanged.
Changed - The preview finding is an existing finding with a change in status.
For example, a Changed finding with preview status Resolved and existing status
Active indicates the existing Active finding would become Resolved as
a result of the proposed permissions change.
changeType - Provides context on how the access preview finding compares to existing access identified in IAM
Access Analyzer.
New - The finding is for newly-introduced access.
Unchanged - The preview finding is an existing finding that would remain unchanged.
Changed - The preview finding is an existing finding with a change in status.
For example, a Changed finding with preview status Resolved and existing
status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.
FindingChangeType,
FindingChangeTypeAccessPreviewFinding.Builder status(String status)
The preview status of the finding. This is what the status of the finding would be after permissions
deployment. For example, a Changed finding with preview status Resolved and
existing status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.
status - The preview status of the finding. This is what the status of the finding would be after permissions
deployment. For example, a Changed finding with preview status Resolved and
existing status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.FindingStatus,
FindingStatusAccessPreviewFinding.Builder status(FindingStatus status)
The preview status of the finding. This is what the status of the finding would be after permissions
deployment. For example, a Changed finding with preview status Resolved and
existing status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.
status - The preview status of the finding. This is what the status of the finding would be after permissions
deployment. For example, a Changed finding with preview status Resolved and
existing status Active indicates the existing Active finding would become
Resolved as a result of the proposed permissions change.FindingStatus,
FindingStatusAccessPreviewFinding.Builder resourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.
resourceOwnerAccount - The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the
owning account is the account in which the resource was created.AccessPreviewFinding.Builder error(String error)
An error.
error - An error.AccessPreviewFinding.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.AccessPreviewFinding.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.AccessPreviewFinding.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.