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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyGeneration.BuildercompletedOn(Instant completedOn)A timestamp of when the policy generation was completed.PolicyGeneration.BuilderjobId(String jobId)TheJobIdthat is returned by theStartPolicyGenerationoperation.PolicyGeneration.BuilderprincipalArn(String principalArn)The ARN of the IAM entity (user or role) for which you are generating a policy.PolicyGeneration.BuilderstartedOn(Instant startedOn)A timestamp of when the policy generation started.PolicyGeneration.Builderstatus(String status)The status of the policy generation request.PolicyGeneration.Builderstatus(JobStatus status)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 Detail
-
jobId
PolicyGeneration.Builder jobId(String jobId)
The
JobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.- Parameters:
jobId- TheJobIdthat is returned by theStartPolicyGenerationoperation. TheJobIdcan be used withGetGeneratedPolicyto retrieve the generated policies or used withCancelPolicyGenerationto cancel the policy generation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
PolicyGeneration.Builder principalArn(String 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
PolicyGeneration.Builder status(String status)
The status of the policy generation request.
-
status
PolicyGeneration.Builder status(JobStatus status)
The status of the policy generation request.
-
startedOn
PolicyGeneration.Builder startedOn(Instant 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
PolicyGeneration.Builder completedOn(Instant 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.
-
-