Interface UnusedPermissionsRecommendedStep.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UnusedPermissionsRecommendedStep.Builder,
,UnusedPermissionsRecommendedStep> SdkBuilder<UnusedPermissionsRecommendedStep.Builder,
,UnusedPermissionsRecommendedStep> SdkPojo
- Enclosing class:
UnusedPermissionsRecommendedStep
public static interface UnusedPermissionsRecommendedStep.Builder
extends SdkPojo, CopyableBuilder<UnusedPermissionsRecommendedStep.Builder,UnusedPermissionsRecommendedStep>
-
Method Summary
Modifier and TypeMethodDescriptionexistingPolicyId
(String existingPolicyId) If the recommended action for the unused permissions finding is to detach a policy, the ID of an existing policy to be 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.recommendedAction
(RecommendedRemediationAction recommendedAction) A recommendation of whether to create or detach a policy for an unused permissions finding.recommendedPolicy
(String recommendedPolicy) If the recommended action for the unused permissions finding is to replace the existing policy, the contents of the recommended policy to replace the policy specified in theexistingPolicyId
field.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
-
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.
-
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.
- See Also:
-
recommendedAction
UnusedPermissionsRecommendedStep.Builder recommendedAction(RecommendedRemediationAction 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.
- See Also:
-
recommendedPolicy
If the recommended action for the unused permissions finding is to replace the existing policy, the contents of the recommended policy to replace the policy specified in the
existingPolicyId
field.- Parameters:
recommendedPolicy
- If the recommended action for the unused permissions finding is to replace the existing policy, the contents of the recommended policy to replace the policy specified in theexistingPolicyId
field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingPolicyId
If the recommended action for the unused permissions finding is to detach a policy, the ID of an existing policy to be detached.
- Parameters:
existingPolicyId
- If the recommended action for the unused permissions finding is to detach a policy, the ID of an existing policy to be detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-