public static interface AccessPreview.Builder extends SdkPojo, CopyableBuilder<AccessPreview.Builder,AccessPreview>
| Modifier and Type | Method and Description |
|---|---|
AccessPreview.Builder |
analyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
|
AccessPreview.Builder |
configurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
|
AccessPreview.Builder |
createdAt(Instant createdAt)
The time at which the access preview was created.
|
AccessPreview.Builder |
id(String id)
The unique ID for the access preview.
|
AccessPreview.Builder |
status(AccessPreviewStatus status)
The status of the access preview.
|
AccessPreview.Builder |
status(String status)
The status of the access preview.
|
AccessPreview.Builder |
statusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
|
default AccessPreview.Builder |
statusReason(Consumer<AccessPreviewStatusReason.Builder> statusReason)
Provides more details about the current status of the access preview.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAccessPreview.Builder analyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
analyzerArn - The ARN of the analyzer used to generate the access preview.AccessPreview.Builder configurations(Map<String,Configuration> configurations)
A map of resource ARNs for the proposed resource configuration.
configurations - A map of resource ARNs for the proposed resource configuration.AccessPreview.Builder createdAt(Instant createdAt)
The time at which the access preview was created.
createdAt - The time at which the access preview was created.AccessPreview.Builder id(String id)
The unique ID for the access preview.
id - The unique ID for the access preview.AccessPreview.Builder status(String status)
The status of the access preview.
Creating - The access preview creation is in progress.
Completed - The access preview is complete. You can preview findings for external access to the
resource.
Failed - The access preview creation has failed.
status - The status of the access preview.
Creating - The access preview creation is in progress.
Completed - The access preview is complete. You can preview findings for external access
to the resource.
Failed - The access preview creation has failed.
AccessPreviewStatus,
AccessPreviewStatusAccessPreview.Builder status(AccessPreviewStatus status)
The status of the access preview.
Creating - The access preview creation is in progress.
Completed - The access preview is complete. You can preview findings for external access to the
resource.
Failed - The access preview creation has failed.
status - The status of the access preview.
Creating - The access preview creation is in progress.
Completed - The access preview is complete. You can preview findings for external access
to the resource.
Failed - The access preview creation has failed.
AccessPreviewStatus,
AccessPreviewStatusAccessPreview.Builder statusReason(AccessPreviewStatusReason statusReason)
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed status is returned. This
failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
statusReason - Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed status is returned.
This failure can be due to an internal issue with the analysis or due to an invalid resource
configuration.
default AccessPreview.Builder statusReason(Consumer<AccessPreviewStatusReason.Builder> statusReason)
Provides more details about the current status of the access preview.
For example, if the creation of the access preview fails, a Failed status is returned. This
failure can be due to an internal issue with the analysis or due to an invalid resource configuration.
AccessPreviewStatusReason.Builder avoiding the
need to create one manually via AccessPreviewStatusReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to statusReason(AccessPreviewStatusReason).statusReason - a consumer that will call methods on AccessPreviewStatusReason.BuilderstatusReason(AccessPreviewStatusReason)Copyright © 2022. All rights reserved.