Interface DescribeTaskResponse.Builder

    • Method Detail

      • taskArn

        DescribeTaskResponse.Builder taskArn​(String 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

        DescribeTaskResponse.Builder status​(String 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:
        TaskStatus, TaskStatus
      • status

        DescribeTaskResponse.Builder status​(TaskStatus 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:
        TaskStatus, TaskStatus
      • name

        DescribeTaskResponse.Builder name​(String 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

        DescribeTaskResponse.Builder currentTaskExecutionArn​(String 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

        DescribeTaskResponse.Builder sourceLocationArn​(String 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

        DescribeTaskResponse.Builder destinationLocationArn​(String 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

        DescribeTaskResponse.Builder cloudWatchLogGroupArn​(String 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

        DescribeTaskResponse.Builder sourceNetworkInterfaceArns​(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.
      • 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

        DescribeTaskResponse.Builder options​(Options 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 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schedule

        DescribeTaskResponse.Builder schedule​(TaskSchedule 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.
      • errorCode

        DescribeTaskResponse.Builder errorCode​(String 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

        DescribeTaskResponse.Builder errorDetail​(String 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

        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.
      • taskReportConfig

        DescribeTaskResponse.Builder taskReportConfig​(TaskReportConfig taskReportConfig)

        The configuration of your task report, which provides detailed information about for your DataSync transfer. For more information, see Creating a task report.

        Parameters:
        taskReportConfig - The configuration of your task report, which provides detailed information about for your DataSync transfer. For more information, see Creating a task report.
        Returns:
        Returns a reference to this object so that method calls can be chained together.