@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.
|
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 |
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 |
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, setSdkResponseMetadatapublic 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 sync statuses, see Understanding Sync Task Statuses.
status - The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.TaskStatuspublic String getStatus()
The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.
TaskStatuspublic DescribeTaskResult withStatus(String status)
The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.
status - The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.TaskStatuspublic DescribeTaskResult withStatus(TaskStatus status)
The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.
status - The status of the task that was described. For detailed information about sync statuses, see Understanding Sync Task Statuses.TaskStatuspublic 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 Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
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.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 Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
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 Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.
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.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 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 ObjectObject.toString()public DescribeTaskResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.