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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeActionResponse.BuilderactionDefinitionId(String actionDefinitionId)The ID of the action definition.DescribeActionResponse.BuilderactionId(String actionId)The ID of the action.default DescribeActionResponse.BuilderactionPayload(Consumer<ActionPayload.Builder> actionPayload)The JSON payload of the action.DescribeActionResponse.BuilderactionPayload(ActionPayload actionPayload)The JSON payload of the action.DescribeActionResponse.BuilderexecutionTime(Instant executionTime)The time the action was executed.default DescribeActionResponse.BuildertargetResource(Consumer<TargetResource.Builder> targetResource)The resource the action will be taken on.DescribeActionResponse.BuildertargetResource(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 Detail
-
actionId
DescribeActionResponse.Builder actionId(String 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
DescribeActionResponse.Builder targetResource(TargetResource 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:
targetResource(TargetResource)
-
actionDefinitionId
DescribeActionResponse.Builder actionDefinitionId(String 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
DescribeActionResponse.Builder actionPayload(ActionPayload 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
default DescribeActionResponse.Builder actionPayload(Consumer<ActionPayload.Builder> 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:
actionPayload(ActionPayload)
-
executionTime
DescribeActionResponse.Builder executionTime(Instant 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.
-
-