@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
DescribeTaskResponse
Constructor and Description |
---|
DescribeTaskResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getCloudWatchLogGroupArn()
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the
task.
|
Date |
getCreationTime()
The time that the task was created.
|
String |
getCurrentTaskExecutionArn()
The Amazon Resource Name (ARN) of the task execution that is syncing files.
|
String |
getDestinationLocationArn()
The Amazon Resource Name (ARN) of the AWS storage resource's location.
|
String |
getErrorCode()
Errors that AWS DataSync encountered during execution of the task.
|
String |
getErrorDetail()
Detailed description of an error that was encountered during the task execution.
|
List<FilterRule> |
getExcludes()
|
String |
getName()
The name of the task that was described.
|
Options |
getOptions()
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call
StartTaskExecution . |
String |
getSourceLocationArn()
The Amazon Resource Name (ARN) of the source file system's location.
|
String |
getStatus()
The status of the task that was described.
|
String |
getTaskArn()
The Amazon Resource Name (ARN) of the task that was described.
|
int |
hashCode() |
void |
setCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the
task.
|
void |
setCreationTime(Date creationTime)
The time that the task was created.
|
void |
setCurrentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
|
void |
setDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
|
void |
setErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task.
|
void |
setErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution.
|
void |
setExcludes(Collection<FilterRule> excludes)
|
void |
setName(String name)
The name of the task that was described.
|
void |
setOptions(Options options)
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call
StartTaskExecution . |
void |
setSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
|
void |
setStatus(String status)
The status of the task that was described.
|
void |
setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTaskResult |
withCloudWatchLogGroupArn(String cloudWatchLogGroupArn)
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that was used to monitor and log events in the
task.
|
DescribeTaskResult |
withCreationTime(Date creationTime)
The time that the task was created.
|
DescribeTaskResult |
withCurrentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
|
DescribeTaskResult |
withDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
|
DescribeTaskResult |
withErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task.
|
DescribeTaskResult |
withErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution.
|
DescribeTaskResult |
withExcludes(Collection<FilterRule> excludes)
|
DescribeTaskResult |
withExcludes(FilterRule... excludes)
|
DescribeTaskResult |
withName(String name)
The name of the task that was described.
|
DescribeTaskResult |
withOptions(Options options)
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call
StartTaskExecution . |
DescribeTaskResult |
withSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
|
DescribeTaskResult |
withStatus(String status)
The status of the task that was described.
|
DescribeTaskResult |
withStatus(TaskStatus status)
The status of the task that was described.
|
DescribeTaskResult |
withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
taskArn
- The Amazon Resource Name (ARN) of the task that was described.public String getTaskArn()
The Amazon Resource Name (ARN) of the task that was described.
public DescribeTaskResult withTaskArn(String taskArn)
The Amazon Resource Name (ARN) of the task that was described.
taskArn
- The Amazon Resource Name (ARN) of the task that was described.public void setStatus(String status)
The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
status
- The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
TaskStatus
public String getStatus()
The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
TaskStatus
public DescribeTaskResult withStatus(String status)
The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
status
- The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
TaskStatus
public DescribeTaskResult withStatus(TaskStatus status)
The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
status
- The status of the task that was described.
For detailed information about task execution statuses, see "https://docs.aws.amazon.com/datasync/latest/userguide/working-with-tasks.html#understand-task-creation-statuses" (Understanding Task Statuses).
TaskStatus
public void setName(String name)
The name of the task that was described.
name
- The name of the task that was described.public String getName()
The name of the task that was described.
public DescribeTaskResult withName(String name)
The name of the task that was described.
name
- The name of the task that was described.public void setCurrentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
currentTaskExecutionArn
- The Amazon Resource Name (ARN) of the task execution that is syncing files.public String getCurrentTaskExecutionArn()
The Amazon Resource Name (ARN) of the task execution that is syncing files.
public DescribeTaskResult withCurrentTaskExecutionArn(String currentTaskExecutionArn)
The Amazon Resource Name (ARN) of the task execution that is syncing files.
currentTaskExecutionArn
- The Amazon Resource Name (ARN) of the task execution that is syncing files.public void setSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
sourceLocationArn
- The Amazon Resource Name (ARN) of the source file system's location.public String getSourceLocationArn()
The Amazon Resource Name (ARN) of the source file system's location.
public DescribeTaskResult withSourceLocationArn(String sourceLocationArn)
The Amazon Resource Name (ARN) of the source file system's location.
sourceLocationArn
- The Amazon Resource Name (ARN) of the source file system's location.public void setDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of the AWS storage resource's location.public String getDestinationLocationArn()
The Amazon Resource Name (ARN) of the AWS storage resource's location.
public DescribeTaskResult withDestinationLocationArn(String destinationLocationArn)
The Amazon Resource Name (ARN) of the AWS storage resource's location.
destinationLocationArn
- The Amazon Resource Name (ARN) of the AWS storage resource's location.public void setCloudWatchLogGroupArn(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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
public String getCloudWatchLogGroupArn()
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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
For more information on these groups, see "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
public DescribeTaskResult withCloudWatchLogGroupArn(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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
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 "https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" (Working with Log Groups and Log Streams) in the Amazon CloudWatch UserGuide.
public void setOptions(Options options)
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID)
and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
options
- The set of configuration options that control the behavior of a single execution of the task that occurs
when you call StartTaskExecution
. You can configure these options to preserve metadata such
as user ID (UID) and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
public Options getOptions()
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID)
and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
StartTaskExecution
. You can configure these options to preserve metadata such
as user ID (UID) and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
public DescribeTaskResult withOptions(Options options)
The set of configuration options that control the behavior of a single execution of the task that occurs when you
call StartTaskExecution
. You can configure these options to preserve metadata such as user ID (UID)
and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
options
- The set of configuration options that control the behavior of a single execution of the task that occurs
when you call StartTaskExecution
. You can configure these options to preserve metadata such
as user ID (UID) and group (GID), file permissions, data integrity verification, and so on.
For each individual task execution, you can override these options by specifying the overriding
OverrideOptions
value to operation.
public List<FilterRule> getExcludes()
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public void setExcludes(Collection<FilterRule> excludes)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public DescribeTaskResult withExcludes(FilterRule... excludes)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
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
- Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public DescribeTaskResult withExcludes(Collection<FilterRule> excludes)
Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
excludes
- Specifies that the task excludes files in the transfer based on the specified pattern in the filter. Transfers all files in the task’s subdirectory, except files that match the filter that is set.
public void setErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
errorCode
- Errors that AWS DataSync encountered during execution of the task. You can use this error code to help
troubleshoot issues.public String getErrorCode()
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
public DescribeTaskResult withErrorCode(String errorCode)
Errors that AWS DataSync encountered during execution of the task. You can use this error code to help troubleshoot issues.
errorCode
- Errors that AWS DataSync encountered during execution of the task. You can use this error code to help
troubleshoot issues.public void setErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
errorDetail
- Detailed description of an error that was encountered during the task execution. You can use this
information to help troubleshoot issues.public String getErrorDetail()
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
public DescribeTaskResult withErrorDetail(String errorDetail)
Detailed description of an error that was encountered during the task execution. You can use this information to help troubleshoot issues.
errorDetail
- Detailed description of an error that was encountered during the task execution. You can use this
information to help troubleshoot issues.public void setCreationTime(Date creationTime)
The time that the task was created.
creationTime
- The time that the task was created.public Date getCreationTime()
The time that the task was created.
public DescribeTaskResult withCreationTime(Date creationTime)
The time that the task was created.
creationTime
- The time that the task was created.public String toString()
toString
in class Object
Object.toString()
public DescribeTaskResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.