@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTaskExecutionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
DescribeTaskExecutionResponse
Constructor and Description |
---|
DescribeTaskExecutionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTaskExecutionResult |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesTransferred()
The physical number of bytes transferred over the network.
|
Long |
getBytesWritten()
The number of logical bytes written to the destination AWS storage resource.
|
Long |
getEstimatedBytesToTransfer()
The estimated physical number of bytes that is to be transferred over the network.
|
Long |
getEstimatedFilesToTransfer()
The expected number of files that is to be transferred over the network.
|
List<FilterRule> |
getExcludes()
A list of filter rules that determines which files to exclude from a task.
|
Long |
getFilesTransferred()
The actual number of files that was transferred over the network.
|
List<FilterRule> |
getIncludes()
A list of filter rules that determines which files to include when running a task.
|
Options |
getOptions() |
TaskExecutionResultDetail |
getResult()
The result of the task execution.
|
Date |
getStartTime()
The time that the task execution was started.
|
String |
getStatus()
The status of the task execution.
|
String |
getTaskExecutionArn()
The Amazon Resource Name (ARN) of the task execution that was described.
|
int |
hashCode() |
void |
setBytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
|
void |
setBytesWritten(Long bytesWritten)
The number of logical bytes written to the destination AWS storage resource.
|
void |
setEstimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
|
void |
setEstimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network.
|
void |
setExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task.
|
void |
setFilesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network.
|
void |
setIncludes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task.
|
void |
setOptions(Options options) |
void |
setResult(TaskExecutionResultDetail result)
The result of the task execution.
|
void |
setStartTime(Date startTime)
The time that the task execution was started.
|
void |
setStatus(String status)
The status of the task execution.
|
void |
setTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTaskExecutionResult |
withBytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
|
DescribeTaskExecutionResult |
withBytesWritten(Long bytesWritten)
The number of logical bytes written to the destination AWS storage resource.
|
DescribeTaskExecutionResult |
withEstimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
|
DescribeTaskExecutionResult |
withEstimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network.
|
DescribeTaskExecutionResult |
withExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskExecutionResult |
withExcludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task.
|
DescribeTaskExecutionResult |
withFilesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network.
|
DescribeTaskExecutionResult |
withIncludes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task.
|
DescribeTaskExecutionResult |
withIncludes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task.
|
DescribeTaskExecutionResult |
withOptions(Options options) |
DescribeTaskExecutionResult |
withResult(TaskExecutionResultDetail result)
The result of the task execution.
|
DescribeTaskExecutionResult |
withStartTime(Date startTime)
The time that the task execution was started.
|
DescribeTaskExecutionResult |
withStatus(String status)
The status of the task execution.
|
DescribeTaskExecutionResult |
withStatus(TaskExecutionStatus status)
The status of the task execution.
|
DescribeTaskExecutionResult |
withTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
taskExecutionArn
- The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
public String getTaskExecutionArn()
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
public DescribeTaskExecutionResult withTaskExecutionArn(String taskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
taskExecutionArn
- The Amazon Resource Name (ARN) of the task execution that was described. TaskExecutionArn
is
hierarchical and includes TaskArn
for the task that was executed.
For example, a TaskExecution
value with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2/execution/exec-08ef1e88ec491019b
executed the task with the ARN
arn:aws:datasync:us-east-1:111222333444:task/task-0208075f79cedf4a2
.
public void setStatus(String status)
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
status
- The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskExecutionStatus
public String getStatus()
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskExecutionStatus
public DescribeTaskExecutionResult withStatus(String status)
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
status
- The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskExecutionStatus
public DescribeTaskExecutionResult withStatus(TaskExecutionStatus status)
The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
status
- The status of the task execution.
For detailed information about task execution statuses, see Understanding Task Statuses in the AWS DataSync User Guide.
TaskExecutionStatus
public void setOptions(Options options)
options
- public Options getOptions()
public DescribeTaskExecutionResult withOptions(Options options)
options
- public List<FilterRule> getExcludes()
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
"/folder1|/folder2"
public void setExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
excludes
- A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public DescribeTaskExecutionResult withExcludes(FilterRule... excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
NOTE: This method appends the values to the existing list (if any). Use
setExcludes(java.util.Collection)
or withExcludes(java.util.Collection)
if you want to override
the existing values.
excludes
- A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public DescribeTaskExecutionResult withExcludes(Collection<FilterRule> excludes)
A list of filter rules that determines which files to exclude from a task. The list should contain a single
filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for
example: "/folder1|/folder2"
excludes
- A list of filter rules that determines which files to exclude from a task. The list should contain a
single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is,
a pipe), for example: "/folder1|/folder2"
public List<FilterRule> getIncludes()
A list of filter rules that determines which files to include when running a task. The list should contain a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example: "/folder1|/folder2"
"/folder1|/folder2"
public void setIncludes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task. The list should contain a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example: "/folder1|/folder2"
includes
- A list of filter rules that determines which files to include when running a task. The list should contain
a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example: "/folder1|/folder2"
public DescribeTaskExecutionResult withIncludes(FilterRule... includes)
A list of filter rules that determines which files to include when running a task. The list should contain a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example: "/folder1|/folder2"
NOTE: This method appends the values to the existing list (if any). Use
setIncludes(java.util.Collection)
or withIncludes(java.util.Collection)
if you want to override
the existing values.
includes
- A list of filter rules that determines which files to include when running a task. The list should contain
a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example: "/folder1|/folder2"
public DescribeTaskExecutionResult withIncludes(Collection<FilterRule> includes)
A list of filter rules that determines which files to include when running a task. The list should contain a
single filter string that consists of the patterns to include. The patterns are delimited by "|" (that is, a
pipe), for example: "/folder1|/folder2"
includes
- A list of filter rules that determines which files to include when running a task. The list should contain
a single filter string that consists of the patterns to include. The patterns are delimited by "|" (that
is, a pipe), for example: "/folder1|/folder2"
public void setStartTime(Date startTime)
The time that the task execution was started.
startTime
- The time that the task execution was started.public Date getStartTime()
The time that the task execution was started.
public DescribeTaskExecutionResult withStartTime(Date startTime)
The time that the task execution was started.
startTime
- The time that the task execution was started.public void setEstimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
estimatedFilesToTransfer
- The expected number of files that is to be transferred over the network. This value is calculated during
the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be
transferred. It's calculated based on comparing the content of the source and destination locations and
finding the delta that needs to be transferred.public Long getEstimatedFilesToTransfer()
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
public DescribeTaskExecutionResult withEstimatedFilesToTransfer(Long estimatedFilesToTransfer)
The expected number of files that is to be transferred over the network. This value is calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be transferred. It's calculated based on comparing the content of the source and destination locations and finding the delta that needs to be transferred.
estimatedFilesToTransfer
- The expected number of files that is to be transferred over the network. This value is calculated during
the PREPARING phase, before the TRANSFERRING phase. This value is the expected number of files to be
transferred. It's calculated based on comparing the content of the source and destination locations and
finding the delta that needs to be transferred.public void setEstimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
estimatedBytesToTransfer
- The estimated physical number of bytes that is to be transferred over the network.public Long getEstimatedBytesToTransfer()
The estimated physical number of bytes that is to be transferred over the network.
public DescribeTaskExecutionResult withEstimatedBytesToTransfer(Long estimatedBytesToTransfer)
The estimated physical number of bytes that is to be transferred over the network.
estimatedBytesToTransfer
- The estimated physical number of bytes that is to be transferred over the network.public void setFilesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This
value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number or to
monitor your task execution.
filesTransferred
- The actual number of files that was transferred over the network. This value is calculated and updated on
an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the
source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
.
This value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number
or to monitor your task execution.
public Long getFilesTransferred()
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This
value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number or to
monitor your task execution.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
.
This value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file
number or to monitor your task execution.
public DescribeTaskExecutionResult withFilesTransferred(Long filesTransferred)
The actual number of files that was transferred over the network. This value is calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
. This
value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number or to
monitor your task execution.
filesTransferred
- The actual number of files that was transferred over the network. This value is calculated and updated on
an ongoing basis during the TRANSFERRING phase. It's updated periodically when each file is read from the
source and sent over the network.
If failures occur during a transfer, this value can be less than EstimatedFilesToTransfer
.
This value can also be greater than EstimatedFilesTransferred
in some cases. This element is
implementation-specific for some location types, so don't use it as an indicator for a correct file number
or to monitor your task execution.
public void setBytesWritten(Long bytesWritten)
The number of logical bytes written to the destination AWS storage resource.
bytesWritten
- The number of logical bytes written to the destination AWS storage resource.public Long getBytesWritten()
The number of logical bytes written to the destination AWS storage resource.
public DescribeTaskExecutionResult withBytesWritten(Long bytesWritten)
The number of logical bytes written to the destination AWS storage resource.
bytesWritten
- The number of logical bytes written to the destination AWS storage resource.public void setBytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
bytesTransferred
- The physical number of bytes transferred over the network.public Long getBytesTransferred()
The physical number of bytes transferred over the network.
public DescribeTaskExecutionResult withBytesTransferred(Long bytesTransferred)
The physical number of bytes transferred over the network.
bytesTransferred
- The physical number of bytes transferred over the network.public void setResult(TaskExecutionResultDetail result)
The result of the task execution.
result
- The result of the task execution.public TaskExecutionResultDetail getResult()
The result of the task execution.
public DescribeTaskExecutionResult withResult(TaskExecutionResultDetail result)
The result of the task execution.
result
- The result of the task execution.public String toString()
toString
in class Object
Object.toString()
public DescribeTaskExecutionResult clone()