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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ActionSummary.Builder
actionArn(String actionArn)
The Amazon Resource Name (ARN) of the action.ActionSummary.Builder
actionName(String actionName)
The name of the action.ActionSummary.Builder
actionType(String actionType)
The type of the action.ActionSummary.Builder
creationTime(Instant creationTime)
When the action was created.ActionSummary.Builder
lastModifiedTime(Instant lastModifiedTime)
When the action was last modified.default ActionSummary.Builder
source(Consumer<ActionSource.Builder> source)
The source of the action.ActionSummary.Builder
source(ActionSource source)
The source of the action.ActionSummary.Builder
status(String status)
The status of the action.ActionSummary.Builder
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 Detail
-
actionArn
ActionSummary.Builder actionArn(String 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
ActionSummary.Builder actionName(String 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
ActionSummary.Builder source(ActionSource 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
default ActionSummary.Builder source(Consumer<ActionSource.Builder> 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:
source(ActionSource)
-
actionType
ActionSummary.Builder actionType(String 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
ActionSummary.Builder status(String 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:
ActionStatus
,ActionStatus
-
status
ActionSummary.Builder status(ActionStatus 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:
ActionStatus
,ActionStatus
-
creationTime
ActionSummary.Builder creationTime(Instant 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
ActionSummary.Builder lastModifiedTime(Instant 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.
-
-