Interface DescribeTaskResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTaskResponse.Builder,
,DescribeTaskResponse> DataSyncResponse.Builder
,SdkBuilder<DescribeTaskResponse.Builder,
,DescribeTaskResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTaskResponse
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLogGroupArn
(String cloudWatchLogGroupArn) The Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.creationTime
(Instant creationTime) The time that the task was created.currentTaskExecutionArn
(String currentTaskExecutionArn) The ARN of the most recent task execution.destinationLocationArn
(String destinationLocationArn) The ARN of your transfer's destination location.destinationNetworkInterfaceArns
(String... destinationNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your destination location.destinationNetworkInterfaceArns
(Collection<String> destinationNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your destination location.If there's an issue with your task, you can use the error code to help you troubleshoot the problem.errorDetail
(String errorDetail) If there's an issue with your task, you can use the error details to help you troubleshoot the problem.excludes
(Collection<FilterRule> excludes) The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.excludes
(Consumer<FilterRule.Builder>... excludes) The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.excludes
(FilterRule... excludes) The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.includes
(Collection<FilterRule> includes) The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.includes
(Consumer<FilterRule.Builder>... includes) The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.includes
(FilterRule... includes) The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.default DescribeTaskResponse.Builder
manifestConfig
(Consumer<ManifestConfig.Builder> manifestConfig) The configuration of the manifest that lists the files or objects that you want DataSync to transfer.manifestConfig
(ManifestConfig manifestConfig) The configuration of the manifest that lists the files or objects that you want DataSync to transfer.The name of your task.default DescribeTaskResponse.Builder
options
(Consumer<Options.Builder> options) The task's settings.The task's settings.default DescribeTaskResponse.Builder
schedule
(Consumer<TaskSchedule.Builder> schedule) The schedule for when you want your task to run.schedule
(TaskSchedule schedule) The schedule for when you want your task to run.default DescribeTaskResponse.Builder
scheduleDetails
(Consumer<TaskScheduleDetails.Builder> scheduleDetails) The details about your task schedule.scheduleDetails
(TaskScheduleDetails scheduleDetails) The details about your task schedule.sourceLocationArn
(String sourceLocationArn) The ARN of your transfer's source location.sourceNetworkInterfaceArns
(String... sourceNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your source location.sourceNetworkInterfaceArns
(Collection<String> sourceNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your source location.The status of your task.status
(TaskStatus status) The status of your task.The ARN of your task.default DescribeTaskResponse.Builder
taskReportConfig
(Consumer<TaskReportConfig.Builder> taskReportConfig) The configuration of your task report, which provides detailed information about your DataSync transfer.taskReportConfig
(TaskReportConfig taskReportConfig) The configuration of your task report, which provides detailed information about your DataSync transfer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.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 Details
-
taskArn
The ARN of your task.
- Parameters:
taskArn
- The ARN of your task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of your task. For information about what each status means, see Task statuses.
- Parameters:
status
- The status of your task. For information about what each status means, see Task statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your task. For information about what each status means, see Task statuses.
- Parameters:
status
- The status of your task. For information about what each status means, see Task statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of your task.
- Parameters:
name
- The name of your task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentTaskExecutionArn
The ARN of the most recent task execution.
- Parameters:
currentTaskExecutionArn
- The ARN of the most recent task execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLocationArn
The ARN of your transfer's source location.
- Parameters:
sourceLocationArn
- The ARN of your transfer's source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLocationArn
The ARN of your transfer's destination location.
- Parameters:
destinationLocationArn
- The ARN of your transfer's destination location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogGroupArn
The Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.
For more information, see Monitoring DataSync with Amazon CloudWatch.
- Parameters:
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.For more information, see Monitoring DataSync with Amazon CloudWatch.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworkInterfaceArns
DescribeTaskResponse.Builder sourceNetworkInterfaceArns(Collection<String> sourceNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your source location.
- Parameters:
sourceNetworkInterfaceArns
- The ARNs of the network interfaces that DataSync created for your source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworkInterfaceArns
The ARNs of the network interfaces that DataSync created for your source location.
- Parameters:
sourceNetworkInterfaceArns
- The ARNs of the network interfaces that DataSync created for your source location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationNetworkInterfaceArns
DescribeTaskResponse.Builder destinationNetworkInterfaceArns(Collection<String> destinationNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your destination location.
- Parameters:
destinationNetworkInterfaceArns
- The ARNs of the network interfaces that DataSync created for your destination location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationNetworkInterfaceArns
DescribeTaskResponse.Builder destinationNetworkInterfaceArns(String... destinationNetworkInterfaceArns) The ARNs of the network interfaces that DataSync created for your destination location.
- Parameters:
destinationNetworkInterfaceArns
- The ARNs of the network interfaces that DataSync created for your destination location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The task's settings. For example, what file metadata gets preserved, how data integrity gets verified at the end of your transfer, bandwidth limits, among other options.
- Parameters:
options
- The task's settings. For example, what file metadata gets preserved, how data integrity gets verified at the end of your transfer, bandwidth limits, among other options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The task's settings. For example, what file metadata gets preserved, how data integrity gets verified at the end of your transfer, bandwidth limits, among other options.
This is a convenience method that creates an instance of theOptions.Builder
avoiding the need to create one manually viaOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(Options)
.- Parameters:
options
- a consumer that will call methods onOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
excludes
The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
- Parameters:
excludes
- The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
- Parameters:
excludes
- The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
This is a convenience method that creates an instance of theFilterRule.Builder
avoiding the need to create one manually viaFilterRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexcludes(List<FilterRule>)
.- Parameters:
excludes
- a consumer that will call methods onFilterRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The schedule for when you want your task to run. For more information, see Scheduling your task.
- Parameters:
schedule
- The schedule for when you want your task to run. For more information, see Scheduling your task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule for when you want your task to run. For more information, see Scheduling your task.
This is a convenience method that creates an instance of theTaskSchedule.Builder
avoiding the need to create one manually viaTaskSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(TaskSchedule)
.- Parameters:
schedule
- a consumer that will call methods onTaskSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
If there's an issue with your task, you can use the error code to help you troubleshoot the problem. For more information, see Troubleshooting issues with DataSync transfers.
- Parameters:
errorCode
- If there's an issue with your task, you can use the error code to help you troubleshoot the problem. For more information, see Troubleshooting issues with DataSync transfers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
If there's an issue with your task, you can use the error details to help you troubleshoot the problem. For more information, see Troubleshooting issues with DataSync transfers.
- Parameters:
errorDetail
- If there's an issue with your task, you can use the error details to help you troubleshoot the problem. For more information, see Troubleshooting issues with DataSync transfers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time that the task was created.
- Parameters:
creationTime
- The time that the task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
- Parameters:
includes
- The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
- Parameters:
includes
- The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer. For more information and examples, see Specifying what DataSync transfers by using filters.
This is a convenience method that creates an instance of theFilterRule.Builder
avoiding the need to create one manually viaFilterRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincludes(List<FilterRule>)
.- Parameters:
includes
- a consumer that will call methods onFilterRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
manifestConfig
The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see Specifying what DataSync transfers by using a manifest.
- Parameters:
manifestConfig
- The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see Specifying what DataSync transfers by using a manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manifestConfig
default DescribeTaskResponse.Builder manifestConfig(Consumer<ManifestConfig.Builder> manifestConfig) The configuration of the manifest that lists the files or objects that you want DataSync to transfer. For more information, see Specifying what DataSync transfers by using a manifest.
This is a convenience method that creates an instance of theManifestConfig.Builder
avoiding the need to create one manually viaManifestConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanifestConfig(ManifestConfig)
.- Parameters:
manifestConfig
- a consumer that will call methods onManifestConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
taskReportConfig
The configuration of your task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
- Parameters:
taskReportConfig
- The configuration of your task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskReportConfig
default DescribeTaskResponse.Builder taskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig) The configuration of your task report, which provides detailed information about your DataSync transfer. For more information, see Monitoring your DataSync transfers with task reports.
This is a convenience method that creates an instance of theTaskReportConfig.Builder
avoiding the need to create one manually viaTaskReportConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totaskReportConfig(TaskReportConfig)
.- Parameters:
taskReportConfig
- a consumer that will call methods onTaskReportConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scheduleDetails
The details about your task schedule.
- Parameters:
scheduleDetails
- The details about your task schedule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleDetails
default DescribeTaskResponse.Builder scheduleDetails(Consumer<TaskScheduleDetails.Builder> scheduleDetails) The details about your task schedule.
This is a convenience method that creates an instance of theTaskScheduleDetails.Builder
avoiding the need to create one manually viaTaskScheduleDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduleDetails(TaskScheduleDetails)
.- Parameters:
scheduleDetails
- a consumer that will call methods onTaskScheduleDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-