Interface UnusedPermissionsRecommendationStep.Builder

  • Method Details

    • recommendedAction

      UnusedPermissionsRecommendationStep.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.
    • existingPolicy

      UnusedPermissionsRecommendationStep.Builder existingPolicy(String existingPolicy)

      The contents of the existing policy identified by ExistingPolicyId which needs to be replaced, when the RecommendedAction is CREATE_POLICY.

      Parameters:
      existingPolicy - The contents of the existing policy identified by ExistingPolicyId which needs to be replaced, when the RecommendedAction is CREATE_POLICY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • existingPolicyId

      UnusedPermissionsRecommendationStep.Builder existingPolicyId(String 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

      UnusedPermissionsRecommendationStep.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.
    • recommendedPolicy

      UnusedPermissionsRecommendationStep.Builder recommendedPolicy(String recommendedPolicy)

      The contents of the least-privileged recommended replacement for ExistingPolicyId, when the RecommendedAction is CREATE_POLICY.

      Parameters:
      recommendedPolicy - The contents of the least-privileged recommended replacement for ExistingPolicyId, when the RecommendedAction is CREATE_POLICY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.