Interface DescribeTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTaskResponse.Builder,,DescribeTaskResponse> SdkBuilder<DescribeTaskResponse.Builder,,DescribeTaskResponse> SdkPojo,SdkResponse.Builder,SnowDeviceManagementResponse.Builder
- Enclosing class:
DescribeTaskResponse
public static interface DescribeTaskResponse.Builder
extends SnowDeviceManagementResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskResponse.Builder,DescribeTaskResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncompletedAt(Instant completedAt) When the task was completed.When theCreateTaskoperation was called.description(String description) The description provided of the task and managed devices.lastUpdatedAt(Instant lastUpdatedAt) When the state of the task was last updated.The current state of the task.The current state of the task.Optional metadata that you assign to a resource.The managed devices that the task was sent to.targets(Collection<String> targets) The managed devices that the task was sent to.The Amazon Resource Name (ARN) of the task.The ID of the task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
completedAt
When the task was completed.
- Parameters:
completedAt- When the task was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
When the
CreateTaskoperation was called.- Parameters:
createdAt- When theCreateTaskoperation was called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description provided of the task and managed devices.
- Parameters:
description- The description provided of the task and managed devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
When the state of the task was last updated.
- Parameters:
lastUpdatedAt- When the state of the task was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the task.
- Parameters:
state- The current state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the task.
- Parameters:
state- The current state of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
- Parameters:
tags- Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The managed devices that the task was sent to.
- Parameters:
targets- The managed devices that the task was sent to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The managed devices that the task was sent to.
- Parameters:
targets- The managed devices that the task was sent to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskArn
The Amazon Resource Name (ARN) of the task.
- Parameters:
taskArn- The Amazon Resource Name (ARN) of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskId
The ID of the task.
- Parameters:
taskId- The ID of the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-