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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTaskResponse.BuildercompletedAt(Instant completedAt)When the task was completed.DescribeTaskResponse.BuildercreatedAt(Instant createdAt)When theCreateTaskoperation was called.DescribeTaskResponse.Builderdescription(String description)The description provided of the task and managed devices.DescribeTaskResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the state of the task was last updated.DescribeTaskResponse.Builderstate(String state)The current state of the task.DescribeTaskResponse.Builderstate(TaskState state)The current state of the task.DescribeTaskResponse.Buildertags(Map<String,String> tags)Optional metadata that you assign to a resource.DescribeTaskResponse.Buildertargets(String... targets)The managed devices that the task was sent to.DescribeTaskResponse.Buildertargets(Collection<String> targets)The managed devices that the task was sent to.DescribeTaskResponse.BuildertaskArn(String taskArn)The Amazon Resource Name (ARN) of the task.DescribeTaskResponse.BuildertaskId(String taskId)The ID of the task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
Methods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
completedAt
DescribeTaskResponse.Builder completedAt(Instant 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
DescribeTaskResponse.Builder createdAt(Instant 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
DescribeTaskResponse.Builder description(String 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
DescribeTaskResponse.Builder lastUpdatedAt(Instant 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
DescribeTaskResponse.Builder state(String state)
The current state of the task.
-
state
DescribeTaskResponse.Builder state(TaskState state)
The current state of the task.
-
tags
DescribeTaskResponse.Builder tags(Map<String,String> 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
DescribeTaskResponse.Builder targets(Collection<String> 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
DescribeTaskResponse.Builder targets(String... 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
DescribeTaskResponse.Builder taskArn(String 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
DescribeTaskResponse.Builder taskId(String 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.
-
-