Interface UnusedPermissionsRecommendedStep.Builder

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