Interface DescribeActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeActionResponse.Builder,
,DescribeActionResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeActionResponse.Builder,
,DescribeActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeActionResponse
public static interface DescribeActionResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeActionResponse.Builder,DescribeActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionactionDefinitionId
(String actionDefinitionId) The ID of the action definition.The ID of the action.default DescribeActionResponse.Builder
actionPayload
(Consumer<ActionPayload.Builder> actionPayload) The JSON payload of the action.actionPayload
(ActionPayload actionPayload) The JSON payload of the action.executionTime
(Instant executionTime) The time the action was executed.default DescribeActionResponse.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.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
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 DescribeActionResponse.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:
-
executionTime
The time the action was executed.
- Parameters:
executionTime
- The time the action was executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-