Interface DescribeTaskResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTaskResponse.Builder,DescribeTaskResponse>,DataSyncResponse.Builder,SdkBuilder<DescribeTaskResponse.Builder,DescribeTaskResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTaskResponse
public static interface DescribeTaskResponse.Builder extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeTaskResponse.Builder,DescribeTaskResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeTaskResponse.BuildercloudWatchLogGroupArn(String cloudWatchLogGroupArn)The Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.DescribeTaskResponse.BuildercreationTime(Instant creationTime)The time that the task was created.DescribeTaskResponse.BuildercurrentTaskExecutionArn(String currentTaskExecutionArn)The ARN of the most recent task execution.DescribeTaskResponse.BuilderdestinationLocationArn(String destinationLocationArn)The ARN of your transfer's destination location.DescribeTaskResponse.BuilderdestinationNetworkInterfaceArns(String... destinationNetworkInterfaceArns)The ARNs of the network interfaces that DataSync created for your destination location.DescribeTaskResponse.BuilderdestinationNetworkInterfaceArns(Collection<String> destinationNetworkInterfaceArns)The ARNs of the network interfaces that DataSync created for your destination location.DescribeTaskResponse.BuildererrorCode(String errorCode)If there's an issue with your task, you can use the error code to help you troubleshoot the problem.DescribeTaskResponse.BuildererrorDetail(String errorDetail)If there's an issue with your task, you can use the error details to help you troubleshoot the problem.DescribeTaskResponse.Builderexcludes(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.DescribeTaskResponse.Builderexcludes(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.DescribeTaskResponse.Builderexcludes(FilterRule... excludes)The exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.DescribeTaskResponse.Builderincludes(Collection<FilterRule> includes)The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.DescribeTaskResponse.Builderincludes(Consumer<FilterRule.Builder>... includes)The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.DescribeTaskResponse.Builderincludes(FilterRule... includes)The include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.default DescribeTaskResponse.BuildermanifestConfig(Consumer<ManifestConfig.Builder> manifestConfig)The configuration of the manifest that lists the files or objects that you want DataSync to transfer.DescribeTaskResponse.BuildermanifestConfig(ManifestConfig manifestConfig)The configuration of the manifest that lists the files or objects that you want DataSync to transfer.DescribeTaskResponse.Buildername(String name)The name of your task.default DescribeTaskResponse.Builderoptions(Consumer<Options.Builder> options)The task's settings.DescribeTaskResponse.Builderoptions(Options options)The task's settings.default DescribeTaskResponse.Builderschedule(Consumer<TaskSchedule.Builder> schedule)The schedule for when you want your task to run.DescribeTaskResponse.Builderschedule(TaskSchedule schedule)The schedule for when you want your task to run.default DescribeTaskResponse.BuilderscheduleDetails(Consumer<TaskScheduleDetails.Builder> scheduleDetails)The details about your task schedule.DescribeTaskResponse.BuilderscheduleDetails(TaskScheduleDetails scheduleDetails)The details about your task schedule.DescribeTaskResponse.BuildersourceLocationArn(String sourceLocationArn)The ARN of your transfer's source location.DescribeTaskResponse.BuildersourceNetworkInterfaceArns(String... sourceNetworkInterfaceArns)The ARNs of the network interfaces that DataSync created for your source location.DescribeTaskResponse.BuildersourceNetworkInterfaceArns(Collection<String> sourceNetworkInterfaceArns)The ARNs of the network interfaces that DataSync created for your source location.DescribeTaskResponse.Builderstatus(String status)The status of your task.DescribeTaskResponse.Builderstatus(TaskStatus status)The status of your task.DescribeTaskResponse.BuildertaskArn(String taskArn)The ARN of your task.default DescribeTaskResponse.BuildertaskReportConfig(Consumer<TaskReportConfig.Builder> taskReportConfig)The configuration of your task report, which provides detailed information about your DataSync transfer.DescribeTaskResponse.BuildertaskReportConfig(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 Detail
-
taskArn
DescribeTaskResponse.Builder taskArn(String 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
DescribeTaskResponse.Builder status(String 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:
TaskStatus,TaskStatus
-
status
DescribeTaskResponse.Builder status(TaskStatus 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:
TaskStatus,TaskStatus
-
name
DescribeTaskResponse.Builder name(String 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
DescribeTaskResponse.Builder currentTaskExecutionArn(String 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
DescribeTaskResponse.Builder sourceLocationArn(String 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
DescribeTaskResponse.Builder destinationLocationArn(String 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
DescribeTaskResponse.Builder cloudWatchLogGroupArn(String 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
DescribeTaskResponse.Builder sourceNetworkInterfaceArns(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.
-
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
DescribeTaskResponse.Builder options(Options 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
default DescribeTaskResponse.Builder options(Consumer<Options.Builder> 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.Builderavoiding the need to create one manually viaOptions.builder().When the
Consumercompletes,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:
options(Options)
-
excludes
DescribeTaskResponse.Builder 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. 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
DescribeTaskResponse.Builder 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. 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
DescribeTaskResponse.Builder 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. For more information and examples, see Specifying what DataSync transfers by using filters.
This is a convenience method that creates an instance of theFilterRule.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#excludes(List.) - 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:
#excludes(java.util.Collection)
-
schedule
DescribeTaskResponse.Builder schedule(TaskSchedule 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
default DescribeTaskResponse.Builder schedule(Consumer<TaskSchedule.Builder> 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.Builderavoiding the need to create one manually viaTaskSchedule.builder().When the
Consumercompletes,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:
schedule(TaskSchedule)
-
errorCode
DescribeTaskResponse.Builder errorCode(String 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
DescribeTaskResponse.Builder errorDetail(String 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
DescribeTaskResponse.Builder creationTime(Instant 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
DescribeTaskResponse.Builder includes(Collection<FilterRule> 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
DescribeTaskResponse.Builder includes(FilterRule... 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
DescribeTaskResponse.Builder 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. For more information and examples, see Specifying what DataSync transfers by using filters.
This is a convenience method that creates an instance of theFilterRule.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#includes(List.) - 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:
#includes(java.util.Collection)
-
manifestConfig
DescribeTaskResponse.Builder manifestConfig(ManifestConfig 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.Builderavoiding the need to create one manually viaManifestConfig.builder().When the
Consumercompletes,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:
manifestConfig(ManifestConfig)
-
taskReportConfig
DescribeTaskResponse.Builder taskReportConfig(TaskReportConfig 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.Builderavoiding the need to create one manually viaTaskReportConfig.builder().When the
Consumercompletes,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:
taskReportConfig(TaskReportConfig)
-
scheduleDetails
DescribeTaskResponse.Builder scheduleDetails(TaskScheduleDetails 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.Builderavoiding the need to create one manually viaTaskScheduleDetails.builder().When the
Consumercompletes,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:
scheduleDetails(TaskScheduleDetails)
-
-