Interface DescribeTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTaskResponse.Builder,,DescribeTaskResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeTaskResponse.Builder,,DescribeTaskResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe time the task was created, in Unix epoch time.description(String description) The description of the task.default DescribeTaskResponse.Builderstatus(Consumer<ResourceStatus.Builder> status) The current lifecycle status of the task.status(ResourceStatus status) The current lifecycle status of the task.The ARN of the task.default DescribeTaskResponse.BuildertaskConfiguration(Consumer<TaskConfiguration.Builder> taskConfiguration) The task execution configuration.taskConfiguration(TaskConfiguration taskConfiguration) The task execution configuration.The name of the task.The time the task was last updated, in Unix epoch time.The version of the task.workspaceName(String workspaceName) The name of the workspace.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
-
workspaceName
The name of the workspace.
- Parameters:
workspaceName- The name of the workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskName
The name of the task.
- Parameters:
taskName- The name of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the task.
- Parameters:
description- The description of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The ARN of the task.
- Parameters:
taskArn- The ARN of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the task.
- Parameters:
version- The version of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfiguration
The task execution configuration. Contains a containerTaskConfiguration for custom container workloads.
- Parameters:
taskConfiguration- The task execution configuration. Contains a containerTaskConfiguration for custom container workloads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskConfiguration
default DescribeTaskResponse.Builder taskConfiguration(Consumer<TaskConfiguration.Builder> taskConfiguration) The task execution configuration. Contains a containerTaskConfiguration for custom container workloads.
This is a convenience method that creates an instance of theTaskConfiguration.Builderavoiding the need to create one manually viaTaskConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskConfiguration(TaskConfiguration).- Parameters:
taskConfiguration- a consumer that will call methods onTaskConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle status of the task.
- Parameters:
status- The current lifecycle status of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the task.
This is a convenience method that creates an instance of theResourceStatus.Builderavoiding the need to create one manually viaResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ResourceStatus).- Parameters:
status- a consumer that will call methods onResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time the task was created, in Unix epoch time.
- Parameters:
createdAt- The time the task was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time the task was last updated, in Unix epoch time.
- Parameters:
updatedAt- The time the task was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-