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 the Amazon CloudWatch log group that was used to monitor and log events in the task.creationTime
(Instant creationTime) The time that the task was created.currentTaskExecutionArn
(String currentTaskExecutionArn) The Amazon Resource Name (ARN) of the task execution that is transferring files.destinationLocationArn
(String destinationLocationArn) The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.destinationNetworkInterfaceArns
(String... destinationNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your destination location.destinationNetworkInterfaceArns
(Collection<String> destinationNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your destination location.Errors that DataSync encountered during execution of the task.errorDetail
(String errorDetail) Detailed description of an error that was encountered during the task execution.excludes
(Collection<FilterRule> excludes) A list of filter rules that exclude specific data during your transfer.excludes
(Consumer<FilterRule.Builder>... excludes) A list of filter rules that exclude specific data during your transfer.excludes
(FilterRule... excludes) A list of filter rules that exclude specific data during your transfer.includes
(Collection<FilterRule> includes) A list of filter rules that include specific data during your transfer.includes
(Consumer<FilterRule.Builder>... includes) A list of filter rules that include specific data during your transfer.includes
(FilterRule... includes) A list of filter rules that include specific data during your transfer.The name of the task that was described.default DescribeTaskResponse.Builder
options
(Consumer<Options.Builder> options) The configuration options that control the behavior of theStartTaskExecution
operation.The configuration options that control the behavior of theStartTaskExecution
operation.default DescribeTaskResponse.Builder
schedule
(Consumer<TaskSchedule.Builder> schedule) The schedule used to periodically transfer files from a source to a destination location.schedule
(TaskSchedule schedule) The schedule used to periodically transfer files from a source to a destination location.sourceLocationArn
(String sourceLocationArn) The Amazon Resource Name (ARN) of the source file system's location.sourceNetworkInterfaceArns
(String... sourceNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your source location.sourceNetworkInterfaceArns
(Collection<String> sourceNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your source location.The status of the task that was described.status
(TaskStatus status) The status of the task that was described.The Amazon Resource Name (ARN) of the task that was described.default DescribeTaskResponse.Builder
taskReportConfig
(Consumer<TaskReportConfig.Builder> taskReportConfig) The configuration of your task report.taskReportConfig
(TaskReportConfig taskReportConfig) The configuration of your task report.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 Amazon Resource Name (ARN) of the task that was described.
- Parameters:
taskArn
- The Amazon Resource Name (ARN) of the task that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
- Parameters:
status
- The status of the task that was described.For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the task that was described.
For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
- Parameters:
status
- The status of the task that was described.For detailed information about task execution statuses, see Understanding Task Statuses in the DataSync User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the task that was described.
- Parameters:
name
- The name of the task that was described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentTaskExecutionArn
The Amazon Resource Name (ARN) of the task execution that is transferring files.
- Parameters:
currentTaskExecutionArn
- The Amazon Resource Name (ARN) of the task execution that is transferring files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLocationArn
The Amazon Resource Name (ARN) of the source file system's location.
- Parameters:
sourceLocationArn
- The Amazon Resource Name (ARN) of the source file system's location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationLocationArn
The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.
- Parameters:
destinationLocationArn
- The Amazon Resource Name (ARN) of the Amazon Web Services storage resource's location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogGroupArn
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the task.
For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
- Parameters:
cloudWatchLogGroupArn
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the task.For more information on these groups, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworkInterfaceArns
DescribeTaskResponse.Builder sourceNetworkInterfaceArns(Collection<String> sourceNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.
- Parameters:
sourceNetworkInterfaceArns
- The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceNetworkInterfaceArns
The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.
- Parameters:
sourceNetworkInterfaceArns
- The Amazon Resource Names (ARNs) of the network interfaces created for your source location. For more information, see Network interface requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationNetworkInterfaceArns
DescribeTaskResponse.Builder destinationNetworkInterfaceArns(Collection<String> destinationNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.
- Parameters:
destinationNetworkInterfaceArns
- The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationNetworkInterfaceArns
DescribeTaskResponse.Builder destinationNetworkInterfaceArns(String... destinationNetworkInterfaceArns) The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.
- Parameters:
destinationNetworkInterfaceArns
- The Amazon Resource Names (ARNs) of the network interfaces created for your destination location. For more information, see Network interface requirements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The configuration options that control the behavior of the
StartTaskExecution
operation. Some options include preserving file or object metadata and verifying data integrity.You can override these options for each task execution. For more information, see StartTaskExecution.
- Parameters:
options
- The configuration options that control the behavior of theStartTaskExecution
operation. Some options include preserving file or object metadata and verifying data integrity.You can override these options for each task execution. For more information, see StartTaskExecution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The configuration options that control the behavior of the
StartTaskExecution
operation. Some options include preserving file or object metadata and verifying data integrity.You can override these options for each task execution. For more information, see StartTaskExecution.
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
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
excludes
- A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
excludes
- A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
excludes
A list of filter rules that exclude specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
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 used to periodically transfer files from a source to a destination location.
- Parameters:
schedule
- The schedule used to periodically transfer files from a source to a destination location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule used to periodically transfer files from a source to a destination location.
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
Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
- Parameters:
errorCode
- Errors that DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
- Parameters:
errorDetail
- Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.- 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
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
includes
- A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
- Parameters:
includes
- A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includes
A list of filter rules that include specific data during your transfer. For more information and examples, see Filtering data transferred by DataSync.
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:
-
taskReportConfig
The configuration of your task report. For more information, see Creating a task report.
- Parameters:
taskReportConfig
- The configuration of your task report. For more information, see Creating a task report.- 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. For more information, see Creating a task report.
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:
-