Interface UnusedPermissionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UnusedPermissionDetails.Builder,
,UnusedPermissionDetails> SdkBuilder<UnusedPermissionDetails.Builder,
,UnusedPermissionDetails> SdkPojo
- Enclosing class:
UnusedPermissionDetails
@Mutable
@NotThreadSafe
public static interface UnusedPermissionDetails.Builder
extends SdkPojo, CopyableBuilder<UnusedPermissionDetails.Builder,UnusedPermissionDetails>
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<UnusedAction> actions) A list of unused actions for which the unused access finding was generated.actions
(Consumer<UnusedAction.Builder>... actions) A list of unused actions for which the unused access finding was generated.actions
(UnusedAction... actions) A list of unused actions for which the unused access finding was generated.lastAccessed
(Instant lastAccessed) The time at which the permission was last accessed.serviceNamespace
(String serviceNamespace) The namespace of the Amazon Web Services service that contains the unused actions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 theUnusedAction.Builder
avoiding the need to create one manually viaUnusedAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<UnusedAction>)
.- Parameters:
actions
- a consumer that will call methods onUnusedAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-