Interface PolicyGeneration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PolicyGeneration.Builder,
,PolicyGeneration> SdkBuilder<PolicyGeneration.Builder,
,PolicyGeneration> SdkPojo
- Enclosing class:
PolicyGeneration
public static interface PolicyGeneration.Builder
extends SdkPojo, CopyableBuilder<PolicyGeneration.Builder,PolicyGeneration>
-
Method Summary
Modifier and TypeMethodDescriptioncompletedOn
(Instant completedOn) A timestamp of when the policy generation was completed.TheJobId
that is returned by theStartPolicyGeneration
operation.principalArn
(String principalArn) The ARN of the IAM entity (user or role) for which you are generating a policy.A timestamp of when the policy generation started.The status of the policy generation request.The status of the policy generation request.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 Details
-
jobId
The
JobId
that is returned by theStartPolicyGeneration
operation. TheJobId
can be used withGetGeneratedPolicy
to retrieve the generated policies or used withCancelPolicyGeneration
to cancel the policy generation request.- Parameters:
jobId
- TheJobId
that is returned by theStartPolicyGeneration
operation. TheJobId
can be used withGetGeneratedPolicy
to retrieve the generated policies or used withCancelPolicyGeneration
to cancel the policy generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
The ARN of the IAM entity (user or role) for which you are generating a policy.
- Parameters:
principalArn
- The ARN of the IAM entity (user or role) for which you are generating a policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the policy generation request.
- Parameters:
status
- The status of the policy generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the policy generation request.
- Parameters:
status
- The status of the policy generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedOn
A timestamp of when the policy generation started.
- Parameters:
startedOn
- A timestamp of when the policy generation started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedOn
A timestamp of when the policy generation was completed.
- Parameters:
completedOn
- A timestamp of when the policy generation was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-