public static interface DataRepositoryTask.Builder extends SdkPojo, CopyableBuilder<DataRepositoryTask.Builder,DataRepositoryTask>
| Modifier and Type | Method and Description |
|---|---|
DataRepositoryTask.Builder |
capacityToRelease(Long capacityToRelease)
Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that
automatically releases files from the cache.
|
DataRepositoryTask.Builder |
creationTime(Instant creationTime)
Sets the value of the CreationTime property for this object.
|
DataRepositoryTask.Builder |
endTime(Instant endTime)
The time the system completed processing the task, populated after the task is complete.
|
default DataRepositoryTask.Builder |
failureDetails(Consumer<DataRepositoryTaskFailureDetails.Builder> failureDetails)
Failure message describing why the task failed, it is populated only when
Lifecycle is set to
FAILED. |
DataRepositoryTask.Builder |
failureDetails(DataRepositoryTaskFailureDetails failureDetails)
Failure message describing why the task failed, it is populated only when
Lifecycle is set to
FAILED. |
DataRepositoryTask.Builder |
fileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
|
DataRepositoryTask.Builder |
fileSystemId(String fileSystemId)
The globally unique ID of the file system.
|
DataRepositoryTask.Builder |
lifecycle(DataRepositoryTaskLifecycle lifecycle)
The lifecycle status of the data repository task, as follows:
|
DataRepositoryTask.Builder |
lifecycle(String lifecycle)
The lifecycle status of the data repository task, as follows:
|
DataRepositoryTask.Builder |
paths(Collection<String> paths)
An array of paths that specify the data for the data repository task to process.
|
DataRepositoryTask.Builder |
paths(String... paths)
An array of paths that specify the data for the data repository task to process.
|
default DataRepositoryTask.Builder |
releaseConfiguration(Consumer<ReleaseConfiguration.Builder> releaseConfiguration)
The configuration that specifies the last accessed time criteria for files that will be released from an
Amazon FSx for Lustre file system.
|
DataRepositoryTask.Builder |
releaseConfiguration(ReleaseConfiguration releaseConfiguration)
The configuration that specifies the last accessed time criteria for files that will be released from an
Amazon FSx for Lustre file system.
|
DataRepositoryTask.Builder |
report(CompletionReport report)
Sets the value of the Report property for this object.
|
default DataRepositoryTask.Builder |
report(Consumer<CompletionReport.Builder> report)
Sets the value of the Report property for this object.
|
DataRepositoryTask.Builder |
resourceARN(String resourceARN)
Sets the value of the ResourceARN property for this object.
|
DataRepositoryTask.Builder |
startTime(Instant startTime)
The time the system began processing the task.
|
default DataRepositoryTask.Builder |
status(Consumer<DataRepositoryTaskStatus.Builder> status)
Provides the status of the number of files that the task has processed successfully and failed to process.
|
DataRepositoryTask.Builder |
status(DataRepositoryTaskStatus status)
Provides the status of the number of files that the task has processed successfully and failed to process.
|
DataRepositoryTask.Builder |
tags(Collection<Tag> tags)
Sets the value of the Tags property for this object.
|
DataRepositoryTask.Builder |
tags(Consumer<Tag.Builder>... tags)
Sets the value of the Tags property for this object.
|
DataRepositoryTask.Builder |
tags(Tag... tags)
Sets the value of the Tags property for this object.
|
DataRepositoryTask.Builder |
taskId(String taskId)
The system-generated, unique 17-digit ID of the data repository task.
|
DataRepositoryTask.Builder |
type(DataRepositoryTaskType type)
The type of data repository task.
|
DataRepositoryTask.Builder |
type(String type)
The type of data repository task.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataRepositoryTask.Builder taskId(String taskId)
The system-generated, unique 17-digit ID of the data repository task.
taskId - The system-generated, unique 17-digit ID of the data repository task.DataRepositoryTask.Builder lifecycle(String lifecycle)
The lifecycle status of the data repository task, as follows:
PENDING - The task has not started.
EXECUTING - The task is in process.
FAILED - The task was not able to be completed. For example, there may be files the task failed
to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - The task has completed successfully.
CANCELED - The task was canceled and it did not complete.
CANCELING - The task is in process of being canceled.
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.
lifecycle - The lifecycle status of the data repository task, as follows:
PENDING - The task has not started.
EXECUTING - The task is in process.
FAILED - The task was not able to be completed. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - The task has completed successfully.
CANCELED - The task was canceled and it did not complete.
CANCELING - The task is in process of being canceled.
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.
DataRepositoryTaskLifecycle,
DataRepositoryTaskLifecycleDataRepositoryTask.Builder lifecycle(DataRepositoryTaskLifecycle lifecycle)
The lifecycle status of the data repository task, as follows:
PENDING - The task has not started.
EXECUTING - The task is in process.
FAILED - The task was not able to be completed. For example, there may be files the task failed
to process. The DataRepositoryTaskFailureDetails property provides more information about task
failures.
SUCCEEDED - The task has completed successfully.
CANCELED - The task was canceled and it did not complete.
CANCELING - The task is in process of being canceled.
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.
lifecycle - The lifecycle status of the data repository task, as follows:
PENDING - The task has not started.
EXECUTING - The task is in process.
FAILED - The task was not able to be completed. For example, there may be files the task
failed to process. The DataRepositoryTaskFailureDetails property provides more information
about task failures.
SUCCEEDED - The task has completed successfully.
CANCELED - The task was canceled and it did not complete.
CANCELING - The task is in process of being canceled.
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.
DataRepositoryTaskLifecycle,
DataRepositoryTaskLifecycleDataRepositoryTask.Builder type(String type)
The type of data repository task.
EXPORT_TO_REPOSITORY tasks export from your Amazon FSx for Lustre file system to a linked data
repository.
IMPORT_METADATA_FROM_REPOSITORY tasks import metadata changes from a linked S3 bucket to your
Amazon FSx for Lustre file system.
RELEASE_DATA_FROM_FILESYSTEM tasks release files in your Amazon FSx for Lustre file system that
have been exported to a linked S3 bucket and that meet your specified release criteria.
AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.
type - The type of data repository task.
EXPORT_TO_REPOSITORY tasks export from your Amazon FSx for Lustre file system to a linked
data repository.
IMPORT_METADATA_FROM_REPOSITORY tasks import metadata changes from a linked S3 bucket to
your Amazon FSx for Lustre file system.
RELEASE_DATA_FROM_FILESYSTEM tasks release files in your Amazon FSx for Lustre file
system that have been exported to a linked S3 bucket and that meet your specified release criteria.
AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.
DataRepositoryTaskType,
DataRepositoryTaskTypeDataRepositoryTask.Builder type(DataRepositoryTaskType type)
The type of data repository task.
EXPORT_TO_REPOSITORY tasks export from your Amazon FSx for Lustre file system to a linked data
repository.
IMPORT_METADATA_FROM_REPOSITORY tasks import metadata changes from a linked S3 bucket to your
Amazon FSx for Lustre file system.
RELEASE_DATA_FROM_FILESYSTEM tasks release files in your Amazon FSx for Lustre file system that
have been exported to a linked S3 bucket and that meet your specified release criteria.
AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.
type - The type of data repository task.
EXPORT_TO_REPOSITORY tasks export from your Amazon FSx for Lustre file system to a linked
data repository.
IMPORT_METADATA_FROM_REPOSITORY tasks import metadata changes from a linked S3 bucket to
your Amazon FSx for Lustre file system.
RELEASE_DATA_FROM_FILESYSTEM tasks release files in your Amazon FSx for Lustre file
system that have been exported to a linked S3 bucket and that meet your specified release criteria.
AUTO_RELEASE_DATA tasks automatically release files from an Amazon File Cache resource.
DataRepositoryTaskType,
DataRepositoryTaskTypeDataRepositoryTask.Builder creationTime(Instant creationTime)
creationTime - The new value for the CreationTime property for this object.DataRepositoryTask.Builder startTime(Instant startTime)
The time the system began processing the task.
startTime - The time the system began processing the task.DataRepositoryTask.Builder endTime(Instant endTime)
The time the system completed processing the task, populated after the task is complete.
endTime - The time the system completed processing the task, populated after the task is complete.DataRepositoryTask.Builder resourceARN(String resourceARN)
resourceARN - The new value for the ResourceARN property for this object.DataRepositoryTask.Builder tags(Collection<Tag> tags)
tags - The new value for the Tags property for this object.DataRepositoryTask.Builder tags(Tag... tags)
tags - The new value for the Tags property for this object.DataRepositoryTask.Builder tags(Consumer<Tag.Builder>... tags)
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) DataRepositoryTask.Builder fileSystemId(String fileSystemId)
The globally unique ID of the file system.
fileSystemId - The globally unique ID of the file system.DataRepositoryTask.Builder paths(Collection<String> paths)
An array of paths 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.
paths - An array of paths 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.
DataRepositoryTask.Builder paths(String... paths)
An array of paths 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.
paths - An array of paths 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.
DataRepositoryTask.Builder failureDetails(DataRepositoryTaskFailureDetails failureDetails)
Failure message describing why the task failed, it is populated only when Lifecycle is set to
FAILED.
failureDetails - Failure message describing why the task failed, it is populated only when Lifecycle is
set to FAILED.default DataRepositoryTask.Builder failureDetails(Consumer<DataRepositoryTaskFailureDetails.Builder> failureDetails)
Failure message describing why the task failed, it is populated only when Lifecycle is set to
FAILED.
DataRepositoryTaskFailureDetails.Builder
avoiding the need to create one manually via DataRepositoryTaskFailureDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to failureDetails(DataRepositoryTaskFailureDetails).
failureDetails - a consumer that will call methods on DataRepositoryTaskFailureDetails.BuilderfailureDetails(DataRepositoryTaskFailureDetails)DataRepositoryTask.Builder status(DataRepositoryTaskStatus status)
Provides the status of the number of files that the task has processed successfully and failed to process.
status - Provides the status of the number of files that the task has processed successfully and failed to
process.default DataRepositoryTask.Builder status(Consumer<DataRepositoryTaskStatus.Builder> status)
Provides the status of the number of files that the task has processed successfully and failed to process.
This is a convenience method that creates an instance of theDataRepositoryTaskStatus.Builder
avoiding the need to create one manually via DataRepositoryTaskStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to status(DataRepositoryTaskStatus).
status - a consumer that will call methods on DataRepositoryTaskStatus.Builderstatus(DataRepositoryTaskStatus)DataRepositoryTask.Builder report(CompletionReport report)
report - The new value for the Report property for this object.default DataRepositoryTask.Builder report(Consumer<CompletionReport.Builder> report)
CompletionReport.Builder avoiding the
need to create one manually via CompletionReport.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to report(CompletionReport).
report - a consumer that will call methods on CompletionReport.Builderreport(CompletionReport)DataRepositoryTask.Builder capacityToRelease(Long capacityToRelease)
Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.
capacityToRelease - Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that
automatically releases files from the cache.DataRepositoryTask.Builder fileCacheId(String fileCacheId)
The system-generated, unique ID of the cache.
fileCacheId - The system-generated, unique ID of the cache.DataRepositoryTask.Builder releaseConfiguration(ReleaseConfiguration releaseConfiguration)
The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.
releaseConfiguration - The configuration that specifies the last accessed time criteria for files that will be released from
an Amazon FSx for Lustre file system.default DataRepositoryTask.Builder releaseConfiguration(Consumer<ReleaseConfiguration.Builder> releaseConfiguration)
The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.
This is a convenience method that creates an instance of theReleaseConfiguration.Builder avoiding
the need to create one manually via ReleaseConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to releaseConfiguration(ReleaseConfiguration).
releaseConfiguration - a consumer that will call methods on ReleaseConfiguration.BuilderreleaseConfiguration(ReleaseConfiguration)Copyright © 2023. All rights reserved.