Interface GetPolicyPreviewJobResponse.Builder
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetPolicyPreviewJobResponse.Builder,,GetPolicyPreviewJobResponse> SdkBuilder<GetPolicyPreviewJobResponse.Builder,,GetPolicyPreviewJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPolicyPreviewJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionjobDetails(Consumer<PolicyPreviewJobDetails.Builder> jobDetails) Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.jobDetails(PolicyPreviewJobDetails jobDetails) Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.The unique identifier of the policy preview job.jobParameters(Consumer<PolicyPreviewJobParameters.Builder> jobParameters) The original parameters used to create the policy preview job, including the analysis time window and policy configurations.jobParameters(PolicyPreviewJobParameters jobParameters) The original parameters used to create the policy preview job, including the analysis time window and policy configurations.outputS3Uri(String outputS3Uri) The Amazon S3 URI where the analysis report is stored.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
jobId
The unique identifier of the policy preview job.
- Parameters:
jobId- The unique identifier of the policy preview job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobParameters
The original parameters used to create the policy preview job, including the analysis time window and policy configurations.
- Parameters:
jobParameters- The original parameters used to create the policy preview job, including the analysis time window and policy configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobParameters
default GetPolicyPreviewJobResponse.Builder jobParameters(Consumer<PolicyPreviewJobParameters.Builder> jobParameters) The original parameters used to create the policy preview job, including the analysis time window and policy configurations.
This is a convenience method that creates an instance of thePolicyPreviewJobParameters.Builderavoiding the need to create one manually viaPolicyPreviewJobParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobParameters(PolicyPreviewJobParameters).- Parameters:
jobParameters- a consumer that will call methods onPolicyPreviewJobParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDetails
Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.
- Parameters:
jobDetails- Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDetails
default GetPolicyPreviewJobResponse.Builder jobDetails(Consumer<PolicyPreviewJobDetails.Builder> jobDetails) Details about the job execution, including current status, submission time, start time, completion time, and any errors that occurred.
This is a convenience method that creates an instance of thePolicyPreviewJobDetails.Builderavoiding the need to create one manually viaPolicyPreviewJobDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDetails(PolicyPreviewJobDetails).- Parameters:
jobDetails- a consumer that will call methods onPolicyPreviewJobDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputS3Uri
The Amazon S3 URI where the analysis report is stored. The report contains metadata for CloudTrail events that would be denied by the proposed policy.
- Parameters:
outputS3Uri- The Amazon S3 URI where the analysis report is stored. The report contains metadata for CloudTrail events that would be denied by the proposed policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-