Interface AccessPreviewSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccessPreviewSummary.Builder,AccessPreviewSummary>,SdkBuilder<AccessPreviewSummary.Builder,AccessPreviewSummary>,SdkPojo
- Enclosing class:
- AccessPreviewSummary
public static interface AccessPreviewSummary.Builder extends SdkPojo, CopyableBuilder<AccessPreviewSummary.Builder,AccessPreviewSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccessPreviewSummary.BuilderanalyzerArn(String analyzerArn)The ARN of the analyzer used to generate the access preview.AccessPreviewSummary.BuildercreatedAt(Instant createdAt)The time at which the access preview was created.AccessPreviewSummary.Builderid(String id)The unique ID for the access preview.AccessPreviewSummary.Builderstatus(String status)The status of the access preview.AccessPreviewSummary.Builderstatus(AccessPreviewStatus status)The status of the access preview.default AccessPreviewSummary.BuilderstatusReason(Consumer<AccessPreviewStatusReason.Builder> statusReason)Sets the value of the StatusReason property for this object.AccessPreviewSummary.BuilderstatusReason(AccessPreviewStatusReason statusReason)Sets the value of the StatusReason property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
AccessPreviewSummary.Builder id(String id)
The unique ID for the access preview.
- Parameters:
id- The unique ID for the access preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analyzerArn
AccessPreviewSummary.Builder analyzerArn(String analyzerArn)
The ARN of the analyzer used to generate the access preview.
- Parameters:
analyzerArn- The ARN of the analyzer used to generate the access preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
AccessPreviewSummary.Builder createdAt(Instant createdAt)
The time at which the access preview was created.
- Parameters:
createdAt- The time at which the access preview was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
AccessPreviewSummary.Builder status(String status)
The status of the access preview.
-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the findings for external access to the resource. -
Failed- The access preview creation has failed.
- Parameters:
status- The status of the access preview.-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the findings for external access to the resource. -
Failed- The access preview creation has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccessPreviewStatus,AccessPreviewStatus
-
-
status
AccessPreviewSummary.Builder status(AccessPreviewStatus status)
The status of the access preview.
-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the findings for external access to the resource. -
Failed- The access preview creation has failed.
- Parameters:
status- The status of the access preview.-
Creating- The access preview creation is in progress. -
Completed- The access preview is complete and previews the findings for external access to the resource. -
Failed- The access preview creation has failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccessPreviewStatus,AccessPreviewStatus
-
-
statusReason
AccessPreviewSummary.Builder statusReason(AccessPreviewStatusReason statusReason)
Sets the value of the StatusReason property for this object.- Parameters:
statusReason- The new value for the StatusReason property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
default AccessPreviewSummary.Builder statusReason(Consumer<AccessPreviewStatusReason.Builder> statusReason)
Sets the value of the StatusReason property for this object. This is a convenience method that creates an instance of theAccessPreviewStatusReason.Builderavoiding the need to create one manually viaAccessPreviewStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(AccessPreviewStatusReason).- Parameters:
statusReason- a consumer that will call methods onAccessPreviewStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statusReason(AccessPreviewStatusReason)
-
-