public static interface PolicyGeneration.Builder extends SdkPojo, CopyableBuilder<PolicyGeneration.Builder,PolicyGeneration>
| Modifier and Type | Method and Description |
|---|---|
PolicyGeneration.Builder |
completedOn(Instant completedOn)
A timestamp of when the policy generation was completed.
|
PolicyGeneration.Builder |
jobId(String jobId)
The
JobId that is returned by the StartPolicyGeneration operation. |
PolicyGeneration.Builder |
principalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
PolicyGeneration.Builder |
startedOn(Instant startedOn)
A timestamp of when the policy generation started.
|
PolicyGeneration.Builder |
status(JobStatus status)
The status of the policy generation request.
|
PolicyGeneration.Builder |
status(String status)
The status of the policy generation request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPolicyGeneration.Builder completedOn(Instant completedOn)
A timestamp of when the policy generation was completed.
completedOn - A timestamp of when the policy generation was completed.PolicyGeneration.Builder jobId(String jobId)
The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies or
used with CancelPolicyGeneration to cancel the policy generation request.
jobId - The JobId that is returned by the StartPolicyGeneration operation. The
JobId can be used with GetGeneratedPolicy to retrieve the generated policies
or used with CancelPolicyGeneration to cancel the policy generation request.PolicyGeneration.Builder principalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
principalArn - The ARN of the IAM entity (user or role) for which you are generating a policy.PolicyGeneration.Builder startedOn(Instant startedOn)
A timestamp of when the policy generation started.
startedOn - A timestamp of when the policy generation started.PolicyGeneration.Builder status(String status)
The status of the policy generation request.
PolicyGeneration.Builder status(JobStatus status)
The status of the policy generation request.
Copyright © 2022. All rights reserved.