Interface UnusedPermissionsRecommendationStep.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UnusedPermissionsRecommendationStep.Builder,,UnusedPermissionsRecommendationStep> SdkBuilder<UnusedPermissionsRecommendationStep.Builder,,UnusedPermissionsRecommendationStep> SdkPojo
- Enclosing class:
UnusedPermissionsRecommendationStep
@Mutable
@NotThreadSafe
public static interface UnusedPermissionsRecommendationStep.Builder
extends SdkPojo, CopyableBuilder<UnusedPermissionsRecommendationStep.Builder,UnusedPermissionsRecommendationStep>
-
Method Summary
Modifier and TypeMethodDescriptionexistingPolicy(String existingPolicy) The contents of the existing policy identified byExistingPolicyIdwhich needs to be replaced, when theRecommendedActionisCREATE_POLICY.existingPolicyId(String existingPolicyId) The ID of an existing policy to be replaced or detached.policyUpdatedAt(Instant policyUpdatedAt) The time at which the existing policy for the unused permissions finding was last updated.recommendedAction(String recommendedAction) A recommendation of whether to create or detach a policy for an unused permissions finding.recommendedPolicy(String recommendedPolicy) The contents of the least-privileged recommended replacement forExistingPolicyId, when theRecommendedActionisCREATE_POLICY.Methods 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, sdkFields
-
Method Details
-
recommendedAction
A recommendation of whether to create or detach a policy for an unused permissions finding.
- Parameters:
recommendedAction- A recommendation of whether to create or detach a policy for an unused permissions finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingPolicy
The contents of the existing policy identified by
ExistingPolicyIdwhich needs to be replaced, when theRecommendedActionisCREATE_POLICY.- Parameters:
existingPolicy- The contents of the existing policy identified byExistingPolicyIdwhich needs to be replaced, when theRecommendedActionisCREATE_POLICY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingPolicyId
The ID of an existing policy to be replaced or detached.
- Parameters:
existingPolicyId- The ID of an existing policy to be replaced or detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyUpdatedAt
The time at which the existing policy for the unused permissions finding was last updated.
- Parameters:
policyUpdatedAt- The time at which the existing policy for the unused permissions finding was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedPolicy
The contents of the least-privileged recommended replacement for
ExistingPolicyId, when theRecommendedActionisCREATE_POLICY.- Parameters:
recommendedPolicy- The contents of the least-privileged recommended replacement forExistingPolicyId, when theRecommendedActionisCREATE_POLICY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-