Interface ActionSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionSummary.Builder,
,ActionSummary> SdkBuilder<ActionSummary.Builder,
,ActionSummary> SdkPojo
- Enclosing class:
ActionSummary
public static interface ActionSummary.Builder
extends SdkPojo, CopyableBuilder<ActionSummary.Builder,ActionSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the action.actionName
(String actionName) The name of the action.actionType
(String actionType) The type of the action.creationTime
(Instant creationTime) When the action was created.lastModifiedTime
(Instant lastModifiedTime) When the action was last modified.default ActionSummary.Builder
source
(Consumer<ActionSource.Builder> source) The source of the action.source
(ActionSource source) The source of the action.The status of the action.status
(ActionStatus status) The status of the action.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, sdkFields
-
Method Details
-
actionArn
The Amazon Resource Name (ARN) of the action.
- Parameters:
actionArn
- The Amazon Resource Name (ARN) of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionName
The name of the action.
- Parameters:
actionName
- The name of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the action.
- Parameters:
source
- The source of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the action.
This is a convenience method that creates an instance of theActionSource.Builder
avoiding the need to create one manually viaActionSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ActionSource)
.- Parameters:
source
- a consumer that will call methods onActionSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actionType
The type of the action.
- Parameters:
actionType
- The type of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the action.
- Parameters:
status
- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action.
- Parameters:
status
- The status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
When the action was created.
- Parameters:
creationTime
- When the action was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
When the action was last modified.
- Parameters:
lastModifiedTime
- When the action was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-