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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnusedPermissionsRecommendedStep.BuilderexistingPolicyId(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.UnusedPermissionsRecommendedStep.BuilderpolicyUpdatedAt(Instant policyUpdatedAt)The time at which the existing policy for the unused permissions finding was last updated.UnusedPermissionsRecommendedStep.BuilderrecommendedAction(String recommendedAction)A recommendation of whether to create or detach a policy for an unused permissions finding.UnusedPermissionsRecommendedStep.BuilderrecommendedAction(RecommendedRemediationAction recommendedAction)A recommendation of whether to create or detach a policy for an unused permissions finding.UnusedPermissionsRecommendedStep.BuilderrecommendedPolicy(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 theexistingPolicyIdfield.-
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
-
policyUpdatedAt
UnusedPermissionsRecommendedStep.Builder policyUpdatedAt(Instant 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
UnusedPermissionsRecommendedStep.Builder recommendedAction(String 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:
RecommendedRemediationAction,RecommendedRemediationAction
-
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:
RecommendedRemediationAction,RecommendedRemediationAction
-
recommendedPolicy
UnusedPermissionsRecommendedStep.Builder 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 the
existingPolicyIdfield.- 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 theexistingPolicyIdfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
existingPolicyId
UnusedPermissionsRecommendedStep.Builder existingPolicyId(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.
- 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.
-
-