Interface UnusedPermissionDetails.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UnusedPermissionDetails.Builder,UnusedPermissionDetails>, SdkBuilder<UnusedPermissionDetails.Builder,UnusedPermissionDetails>, SdkPojo
Enclosing class:
UnusedPermissionDetails

public static interface UnusedPermissionDetails.Builder extends SdkPojo, CopyableBuilder<UnusedPermissionDetails.Builder,UnusedPermissionDetails>
  • Method Details

    • 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

      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

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

      This is a convenience method that creates an instance of the UnusedAction.Builder avoiding the need to create one manually via UnusedAction.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to actions(List<UnusedAction>).

      Parameters:
      actions - a consumer that will call methods on UnusedAction.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 last accessed.

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