Interface UnusedPermissionDetails.Builder

    • Method Detail

      • actions

        UnusedPermissionDetails.Builder actions​(Collection<UnusedAction> actions)

        A list of unused actions for which the unused access finding was generated.

        Parameters:
        actions - A list of unused actions for which the unused access finding was generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        UnusedPermissionDetails.Builder actions​(UnusedAction... actions)

        A list of unused actions for which the unused access finding was generated.

        Parameters:
        actions - A list of unused actions for which the unused access finding was generated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceNamespace

        UnusedPermissionDetails.Builder serviceNamespace​(String serviceNamespace)

        The namespace of the Amazon Web Services service that contains the unused actions.

        Parameters:
        serviceNamespace - The namespace of the Amazon Web Services service that contains the unused actions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastAccessed

        UnusedPermissionDetails.Builder lastAccessed​(Instant lastAccessed)

        The time at which the permission was last accessed.

        Parameters:
        lastAccessed - The time at which the permission was last accessed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.