Interface ExecuteActionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ExecuteActionRequest.Builder,,ExecuteActionRequest> IoTSiteWiseRequest.Builder,SdkBuilder<ExecuteActionRequest.Builder,,ExecuteActionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ExecuteActionRequest
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.BuilderactionPayload(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.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.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
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.Builderavoiding the need to create one manually viaActionPayload.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-