Interface UnusedPermissionsRecommendedStep.Builder

  • Method Details

    • 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:
    • 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

      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 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 the existingPolicyId field.
      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.