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 TypeMethodDescriptionactionDefinitionId
(String actionDefinitionId) The ID of the action definition.The ID of the action.default ActionSummary.Builder
targetResource
(Consumer<TargetResource.Builder> targetResource) The resource the action will be taken on.targetResource
(TargetResource targetResource) The resource the action will be taken on.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
-
actionId
The ID of the action.
- Parameters:
actionId
- The ID of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinitionId
The ID of the action definition.
- Parameters:
actionDefinitionId
- The ID of the action definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
The resource the action will be taken on.
- Parameters:
targetResource
- The resource the action will be taken on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetResource
The resource the action will be taken on.
This is a convenience method that creates an instance of theTargetResource.Builder
avoiding the need to create one manually viaTargetResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetResource(TargetResource)
.- Parameters:
targetResource
- a consumer that will call methods onTargetResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-