@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CopyStepDetails extends Object implements Serializable, Cloneable, StructuredPojo
Each step type has its own StepDetails
structure.
Constructor and Description |
---|
CopyStepDetails() |
Modifier and Type | Method and Description |
---|---|
CopyStepDetails |
clone() |
boolean |
equals(Object obj) |
InputFileLocation |
getDestinationFileLocation()
Specifies the location for the file being copied.
|
String |
getName()
The name of the step, used as an identifier.
|
String |
getOverwriteExisting()
A flag that indicates whether to overwrite an existing file of the same name.
|
String |
getSourceFileLocation()
Specifies which file to use as input to the workflow step: either the output from the previous step, or the
originally uploaded file for the workflow.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationFileLocation(InputFileLocation destinationFileLocation)
Specifies the location for the file being copied.
|
void |
setName(String name)
The name of the step, used as an identifier.
|
void |
setOverwriteExisting(String overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name.
|
void |
setSourceFileLocation(String sourceFileLocation)
Specifies which file to use as input to the workflow step: either the output from the previous step, or the
originally uploaded file for the workflow.
|
String |
toString()
Returns a string representation of this object.
|
CopyStepDetails |
withDestinationFileLocation(InputFileLocation destinationFileLocation)
Specifies the location for the file being copied.
|
CopyStepDetails |
withName(String name)
The name of the step, used as an identifier.
|
CopyStepDetails |
withOverwriteExisting(OverwriteExisting overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name.
|
CopyStepDetails |
withOverwriteExisting(String overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name.
|
CopyStepDetails |
withSourceFileLocation(String sourceFileLocation)
Specifies which file to use as input to the workflow step: either the output from the previous step, or the
originally uploaded file for the workflow.
|
public void setName(String name)
The name of the step, used as an identifier.
name
- The name of the step, used as an identifier.public String getName()
The name of the step, used as an identifier.
public CopyStepDetails withName(String name)
The name of the step, used as an identifier.
name
- The name of the step, used as an identifier.public void setDestinationFileLocation(InputFileLocation destinationFileLocation)
Specifies the location for the file being copied. Use ${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or uploaded
date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy uploaded files
to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy uploaded
files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the file is
uploaded in UTC.
destinationFileLocation
- Specifies the location for the file being copied. Use ${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or
uploaded date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that
uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the
file is uploaded in UTC.
public InputFileLocation getDestinationFileLocation()
Specifies the location for the file being copied. Use ${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or uploaded
date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy uploaded files
to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy uploaded
files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the file is
uploaded in UTC.
${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or
uploaded date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that
uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the
file is uploaded in UTC.
public CopyStepDetails withDestinationFileLocation(InputFileLocation destinationFileLocation)
Specifies the location for the file being copied. Use ${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or uploaded
date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy uploaded files
to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy uploaded
files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the file is
uploaded in UTC.
destinationFileLocation
- Specifies the location for the file being copied. Use ${Transfer:UserName}
or
${Transfer:UploadDate}
in this field to parametrize the destination prefix by username or
uploaded date.
Set the value of DestinationFileLocation
to ${Transfer:UserName}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the name of the Transfer Family user that
uploaded the file.
Set the value of DestinationFileLocation
to ${Transfer:UploadDate}
to copy
uploaded files to an Amazon S3 bucket that is prefixed with the date of the upload.
The system resolves UploadDate
to a date format of YYYY-MM-DD, based on the date the
file is uploaded in UTC.
public void setOverwriteExisting(String overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing stops.
overwriteExisting
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing
stops.
OverwriteExisting
public String getOverwriteExisting()
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing stops.
FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing
stops.
OverwriteExisting
public CopyStepDetails withOverwriteExisting(String overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing stops.
overwriteExisting
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing
stops.
OverwriteExisting
public CopyStepDetails withOverwriteExisting(OverwriteExisting overwriteExisting)
A flag that indicates whether to overwrite an existing file of the same name. The default is FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing stops.
overwriteExisting
- A flag that indicates whether to overwrite an existing file of the same name. The default is
FALSE
.
If the workflow is processing a file that has the same name as an existing file, the behavior is as follows:
If OverwriteExisting
is TRUE
, the existing file is replaced with the file being
processed.
If OverwriteExisting
is FALSE
, nothing happens, and the workflow processing
stops.
OverwriteExisting
public void setSourceFileLocation(String sourceFileLocation)
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow step uses
the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
sourceFileLocation
- Specifies which file to use as input to the workflow step: either the output from the previous step, or
the originally uploaded file for the workflow.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow
step uses the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
public String getSourceFileLocation()
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow step uses
the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow
step uses the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
public CopyStepDetails withSourceFileLocation(String sourceFileLocation)
Specifies which file to use as input to the workflow step: either the output from the previous step, or the originally uploaded file for the workflow.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow step uses
the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
sourceFileLocation
- Specifies which file to use as input to the workflow step: either the output from the previous step, or
the originally uploaded file for the workflow.
To use the previous file as the input, enter ${previous.file}
. In this case, this workflow
step uses the output file from the previous workflow step as input. This is the default value.
To use the originally uploaded file location as input for this step, enter ${original.file}
.
public String toString()
toString
in class Object
Object.toString()
public CopyStepDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.