Interface ActionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ActionSummary.Builder,,ActionSummary> SdkBuilder<ActionSummary.Builder,,ActionSummary> SdkPojo
- Enclosing class:
ActionSummary
@Mutable
@NotThreadSafe
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.BuilderresolveTo(Consumer<ResolveTo.Builder> resolveTo) The detailed resource this action resolves to.The detailed resource this action resolves to.default ActionSummary.BuildertargetResource(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaTargetResource.builder().When the
Consumercompletes,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:
-
resolveTo
The detailed resource this action resolves to.
- Parameters:
resolveTo- The detailed resource this action resolves to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolveTo
The detailed resource this action resolves to.
This is a convenience method that creates an instance of theResolveTo.Builderavoiding the need to create one manually viaResolveTo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresolveTo(ResolveTo).- Parameters:
resolveTo- a consumer that will call methods onResolveTo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-