@Generated(value="software.amazon.awssdk:codegen") public final class CreateDataRepositoryTaskRequest extends FSxRequest implements ToCopyableBuilder<CreateDataRepositoryTaskRequest.Builder,CreateDataRepositoryTaskRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDataRepositoryTaskRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateDataRepositoryTaskRequest.Builder |
builder() |
String |
clientRequestToken()
Returns the value of the ClientRequestToken property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
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).
|
List<String> |
paths()
(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed.
|
CompletionReport |
report()
Defines whether or not Amazon FSx provides a CompletionReport once the task has completed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataRepositoryTaskRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
Returns the value of the Tags property for this object.
|
CreateDataRepositoryTaskRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DataRepositoryTaskType |
type()
Specifies the type of data repository task to create.
|
String |
typeAsString()
Specifies the type of data repository task to create.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DataRepositoryTaskType type()
Specifies the type of data repository task to create.
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()
Specifies the type of data repository task to create.
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 boolean hasPaths()
public final List<String> paths()
(Optional) The path or paths on the Amazon FSx file system to use when the data repository task is processed. 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. If a path that you
provide isn't valid, the task fails.
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.
/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. If a path that you provide isn't valid, the task fails.public final String fileSystemId()
public final 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.
Scope parameter. For more information, see Working with Task
Completion Reports.public final String clientRequestToken()
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 CreateDataRepositoryTaskRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDataRepositoryTaskRequest.Builder,CreateDataRepositoryTaskRequest>toBuilder in class FSxRequestpublic static CreateDataRepositoryTaskRequest.Builder builder()
public static Class<? extends CreateDataRepositoryTaskRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.