@Generated(value="software.amazon.awssdk:codegen") public final class DataRepositoryTask extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataRepositoryTask.Builder,DataRepositoryTask>
A description of the data repository task. You use data repository tasks to perform bulk transfer operations between your Amazon FSx file system and its linked data repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataRepositoryTask.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataRepositoryTask.Builder |
builder() |
Instant |
creationTime()
Returns the value of the CreationTime property for this object.
|
Instant |
endTime()
The time that Amazon FSx completed processing the task, populated after the task is complete.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
DataRepositoryTaskFailureDetails |
failureDetails()
Failure message describing why the task failed, it is populated only when
Lifecycle is set to
FAILED. |
String |
fileSystemId()
Returns the value of the FileSystemId property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPaths()
Returns true if the Paths property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
DataRepositoryTaskLifecycle |
lifecycle()
The lifecycle status of the data repository task, as follows:
|
String |
lifecycleAsString()
The lifecycle status of the data repository task, as follows:
|
List<String> |
paths()
An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to
process.
|
CompletionReport |
report()
Returns the value of the Report property for this object.
|
String |
resourceARN()
Returns the value of the ResourceARN property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataRepositoryTask.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time that Amazon FSx began processing the task.
|
DataRepositoryTaskStatus |
status()
Provides the status of the number of files that the task has processed successfully and failed to process.
|
List<Tag> |
tags()
Returns the value of the Tags property for this object.
|
String |
taskId()
The system-generated, unique 17-digit ID of the data repository task.
|
DataRepositoryTask.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataRepositoryTaskType |
type()
The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.
|
String |
typeAsString()
The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String taskId()
The system-generated, unique 17-digit ID of the data repository task.
public final DataRepositoryTaskLifecycle lifecycle()
The lifecycle status of the data repository task, as follows:
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the
PENDING or EXECUTING states. Please retry when the data repository task is finished
(with a status of CANCELED, SUCCEEDED, or FAILED). You can use the
DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your
file system immediately.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return DataRepositoryTaskLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the
task failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in
the PENDING or EXECUTING states. Please retry when the data repository task is
finished (with a status of CANCELED, SUCCEEDED, or FAILED). You
can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you
need to delete your file system immediately.
DataRepositoryTaskLifecyclepublic final String lifecycleAsString()
The lifecycle status of the data repository task, as follows:
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the
PENDING or EXECUTING states. Please retry when the data repository task is finished
(with a status of CANCELED, SUCCEEDED, or FAILED). You can use the
DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your
file system immediately.
If the service returns an enum value that is not available in the current SDK version, lifecycle will
return DataRepositoryTaskLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from lifecycleAsString().
PENDING - Amazon FSx has not started the task.
EXECUTING - Amazon FSx is processing the task.
FAILED - Amazon FSx was not able to complete the task. For example, there may be files the
task failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - FSx completed the task successfully.
CANCELED - Amazon FSx canceled the task and it did not complete.
CANCELING - FSx is in process of canceling the task.
You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in
the PENDING or EXECUTING states. Please retry when the data repository task is
finished (with a status of CANCELED, SUCCEEDED, or FAILED). You
can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you
need to delete your file system immediately.
DataRepositoryTaskLifecyclepublic final DataRepositoryTaskType type()
The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.
If the service returns an enum value that is not available in the current SDK version, type will return
DataRepositoryTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DataRepositoryTaskTypepublic final String typeAsString()
The type of data repository task; EXPORT_TO_REPOSITORY is the only type currently supported.
If the service returns an enum value that is not available in the current SDK version, type will return
DataRepositoryTaskType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DataRepositoryTaskTypepublic final Instant creationTime()
public final Instant startTime()
The time that Amazon FSx began processing the task.
public final Instant endTime()
The time that Amazon FSx completed processing the task, populated after the task is complete.
public final String resourceARN()
public final boolean hasTags()
public final List<Tag> tags()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String fileSystemId()
public final boolean hasPaths()
public final List<String> paths()
An array of paths on the Amazon FSx for Lustre file system that specify the data for the data repository task to process. For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository.
(Default) If Paths is not specified, Amazon FSx uses the file system root directory.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPaths() to see if a value was sent in this field.
(Default) If Paths is not specified, Amazon FSx uses the file system root directory.
public final DataRepositoryTaskFailureDetails failureDetails()
Failure message describing why the task failed, it is populated only when Lifecycle is set to
FAILED.
Lifecycle is set
to FAILED.public final DataRepositoryTaskStatus status()
Provides the status of the number of files that the task has processed successfully and failed to process.
public final CompletionReport report()
public DataRepositoryTask.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataRepositoryTask.Builder,DataRepositoryTask>public static DataRepositoryTask.Builder builder()
public static Class<? extends DataRepositoryTask.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.