Interface DescribeActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeActionResponse.Builder,,DescribeActionResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeActionResponse.Builder,,DescribeActionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeActionResponse
@Mutable
@NotThreadSafe
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.BuilderactionPayload(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.BuilderresolveTo(Consumer<ResolveTo.Builder> resolveTo) The detailed resource this action resolves to.The detailed resource this action resolves to.default DescribeActionResponse.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.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.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:
-
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.
-
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:
-