Interface ExecuteActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ExecuteActionRequest.Builder,
,ExecuteActionRequest> IoTSiteWiseRequest.Builder
,SdkBuilder<ExecuteActionRequest.Builder,
,ExecuteActionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ExecuteActionRequest
@Mutable
@NotThreadSafe
public static interface ExecuteActionRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<ExecuteActionRequest.Builder,ExecuteActionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionactionDefinitionId
(String actionDefinitionId) The ID of the action definition.default ExecuteActionRequest.Builder
actionPayload
(Consumer<ActionPayload.Builder> actionPayload) The JSON payload of the action.actionPayload
(ActionPayload actionPayload) The JSON payload of the action.clientToken
(String clientToken) A unique case-sensitive identifier that you can provide to ensure the idempotency of the request.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ExecuteActionRequest.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.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
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
-
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
default ExecuteActionRequest.Builder targetResource(Consumer<TargetResource.Builder> 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:
-
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.
-
actionPayload
The JSON payload of the action.
- Parameters:
actionPayload
- The JSON payload of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionPayload
The JSON payload of the action.
This is a convenience method that creates an instance of theActionPayload.Builder
avoiding the need to create one manually viaActionPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionPayload(ActionPayload)
.- Parameters:
actionPayload
- a consumer that will call methods onActionPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
- Parameters:
clientToken
- A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ExecuteActionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ExecuteActionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-