@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataRepositoryTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateDataRepositoryTaskRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateDataRepositoryTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken() |
String |
getFileSystemId() |
List<String> |
getPaths()
A list of paths for the data repository task to use when the task is processed.
|
CompletionReport |
getReport()
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed.
|
List<Tag> |
getTags() |
String |
getType()
Specifies the type of data repository task to create.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken) |
void |
setFileSystemId(String fileSystemId) |
void |
setPaths(Collection<String> paths)
A list of paths for the data repository task to use when the task is processed.
|
void |
setReport(CompletionReport report)
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed.
|
void |
setTags(Collection<Tag> tags) |
void |
setType(String type)
Specifies the type of data repository task to create.
|
String |
toString()
Returns a string representation of this object.
|
CreateDataRepositoryTaskRequest |
withClientRequestToken(String clientRequestToken) |
CreateDataRepositoryTaskRequest |
withFileSystemId(String fileSystemId) |
CreateDataRepositoryTaskRequest |
withPaths(Collection<String> paths)
A list of paths for the data repository task to use when the task is processed.
|
CreateDataRepositoryTaskRequest |
withPaths(String... paths)
A list of paths for the data repository task to use when the task is processed.
|
CreateDataRepositoryTaskRequest |
withReport(CompletionReport report)
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed.
|
CreateDataRepositoryTaskRequest |
withTags(Collection<Tag> tags) |
CreateDataRepositoryTaskRequest |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
CreateDataRepositoryTaskRequest |
withType(DataRepositoryTaskType type)
Specifies the type of data repository task to create.
|
CreateDataRepositoryTaskRequest |
withType(String type)
Specifies the type of data repository task to create.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setType(String type)
Specifies the type of data repository task to create.
type - Specifies the type of data repository task to create.DataRepositoryTaskTypepublic String getType()
Specifies the type of data repository task to create.
DataRepositoryTaskTypepublic CreateDataRepositoryTaskRequest withType(String type)
Specifies the type of data repository task to create.
type - Specifies the type of data repository task to create.DataRepositoryTaskTypepublic CreateDataRepositoryTaskRequest withType(DataRepositoryTaskType type)
Specifies the type of data repository task to create.
type - Specifies the type of data repository task to create.DataRepositoryTaskTypepublic List<String> getPaths()
A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the
Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to be relative
to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported
to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported
to the Amazon S3 bucket. The default path is the file system root directory. The paths you provide need
to be relative to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path
to provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are
imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
public void setPaths(Collection<String> paths)
A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the
Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to be relative
to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported
to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
paths - A list of paths for the data repository task to use when the task is processed. If a path that you provide
isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported
to the Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to
be relative to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are
imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
public CreateDataRepositoryTaskRequest withPaths(String... paths)
A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the
Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to be relative
to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported
to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
NOTE: This method appends the values to the existing list (if any). Use
setPaths(java.util.Collection) or withPaths(java.util.Collection) if you want to override the
existing values.
paths - A list of paths for the data repository task to use when the task is processed. If a path that you provide
isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported
to the Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to
be relative to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are
imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
public CreateDataRepositoryTaskRequest withPaths(Collection<String> paths)
A list of paths for the data repository task to use when the task is processed. If a path that you provide isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported to the
Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to be relative
to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are imported
to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
paths - A list of paths for the data repository task to use when the task is processed. If a path that you provide
isn't valid, the task fails.
For export tasks, the list contains paths on the Amazon FSx file system from which the files are exported
to the Amazon S3 bucket. The default path is the file system root directory. The paths you provide need to
be relative to the mount point of the file system. If the mount point is /mnt/fsx and
/mnt/fsx/path1 is a directory or file on the file system you want to export, then the path to
provide is path1.
For import tasks, the list contains paths in the Amazon S3 bucket from which POSIX metadata changes are
imported to the Amazon FSx file system. The path can be an S3 bucket or prefix in the format
s3://myBucket/myPrefix (where myPrefix is optional).
public void setFileSystemId(String fileSystemId)
fileSystemId - public String getFileSystemId()
public CreateDataRepositoryTaskRequest withFileSystemId(String fileSystemId)
fileSystemId - public void setReport(CompletionReport report)
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport
provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the
Scope parameter. For more information, see Working with Task
Completion Reports.
report - Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A
CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria
specified by the Scope parameter. For more information, see Working with Task
Completion Reports.public CompletionReport getReport()
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport
provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the
Scope parameter. For more information, see Working with Task
Completion Reports.
Scope parameter. For more information, see Working with Task
Completion Reports.public CreateDataRepositoryTaskRequest withReport(CompletionReport report)
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A CompletionReport
provides a detailed report on the files that Amazon FSx processed that meet the criteria specified by the
Scope parameter. For more information, see Working with Task
Completion Reports.
report - Defines whether or not Amazon FSx provides a CompletionReport once the task has completed. A
CompletionReport provides a detailed report on the files that Amazon FSx processed that meet the criteria
specified by the Scope parameter. For more information, see Working with Task
Completion Reports.public void setClientRequestToken(String clientRequestToken)
clientRequestToken - public String getClientRequestToken()
public CreateDataRepositoryTaskRequest withClientRequestToken(String clientRequestToken)
clientRequestToken - public void setTags(Collection<Tag> tags)
tags - public CreateDataRepositoryTaskRequest withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - public CreateDataRepositoryTaskRequest withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CreateDataRepositoryTaskRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()