@Generated(value="software.amazon.awssdk:codegen") public final class StartFileTransferRequest extends TransferRequest implements ToCopyableBuilder<StartFileTransferRequest.Builder,StartFileTransferRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartFileTransferRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartFileTransferRequest.Builder |
builder() |
String |
connectorId()
The unique identifier for the connector.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRetrieveFilePaths()
For responses, this returns true if the service returned a value for the RetrieveFilePaths property.
|
boolean |
hasSendFilePaths()
For responses, this returns true if the service returned a value for the SendFilePaths property.
|
String |
localDirectoryPath()
For an inbound transfer, the
LocaDirectoryPath specifies the destination for one or more files that
are transferred from the partner's SFTP server. |
String |
remoteDirectoryPath()
For an outbound transfer, the
RemoteDirectoryPath specifies the destination for one or more files
that are transferred to the partner's SFTP server. |
List<String> |
retrieveFilePaths()
One or more source paths for the partner's SFTP server.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
sendFilePaths()
One or more source paths for the Amazon S3 storage.
|
static Class<? extends StartFileTransferRequest.Builder> |
serializableBuilderClass() |
StartFileTransferRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectorId()
The unique identifier for the connector.
public final boolean hasSendFilePaths()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> sendFilePaths()
One or more source paths for the Amazon S3 storage. Each string represents a source file path for one outbound
file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSendFilePaths() method.
DOC-EXAMPLE-BUCKET/myfile.txt .
Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.
public final boolean hasRetrieveFilePaths()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> retrieveFilePaths()
One or more source paths for the partner's SFTP server. Each string represents a source file path for one inbound file transfer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRetrieveFilePaths() method.
public final String localDirectoryPath()
For an inbound transfer, the LocaDirectoryPath specifies the destination for one or more files that
are transferred from the partner's SFTP server.
LocaDirectoryPath specifies the destination for one or more
files that are transferred from the partner's SFTP server.public final String remoteDirectoryPath()
For an outbound transfer, the RemoteDirectoryPath specifies the destination for one or more files
that are transferred to the partner's SFTP server. If you don't specify a RemoteDirectoryPath, the
destination for transferred files is the SFTP user's home directory.
RemoteDirectoryPath specifies the destination for one or more
files that are transferred to the partner's SFTP server. If you don't specify a
RemoteDirectoryPath, the destination for transferred files is the SFTP user's home
directory.public StartFileTransferRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartFileTransferRequest.Builder,StartFileTransferRequest>toBuilder in class TransferRequestpublic static StartFileTransferRequest.Builder builder()
public static Class<? extends StartFileTransferRequest.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 © 2023. All rights reserved.