@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefixConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
| Constructor and Description |
|---|
PrefixConfig() |
| Modifier and Type | Method and Description |
|---|---|
PrefixConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPathPrefixHierarchy()
Specifies whether the destination file path includes either or both of the following elements:
|
String |
getPrefixFormat()
Determines the level of granularity for the date and time that's included in the prefix.
|
String |
getPrefixType()
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPathPrefixHierarchy(Collection<String> pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
|
void |
setPrefixFormat(String prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
|
void |
setPrefixType(String prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
|
String |
toString()
Returns a string representation of this object.
|
PrefixConfig |
withPathPrefixHierarchy(Collection<String> pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
|
PrefixConfig |
withPathPrefixHierarchy(PathPrefix... pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
|
PrefixConfig |
withPathPrefixHierarchy(String... pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
|
PrefixConfig |
withPrefixFormat(PrefixFormat prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
|
PrefixConfig |
withPrefixFormat(String prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
|
PrefixConfig |
withPrefixType(PrefixType prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
|
PrefixConfig |
withPrefixType(String prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
|
public void setPrefixType(String prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
prefixType - Determines the format of the prefix, and whether it applies to the file name, file path, or both.PrefixTypepublic String getPrefixType()
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
PrefixTypepublic PrefixConfig withPrefixType(String prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
prefixType - Determines the format of the prefix, and whether it applies to the file name, file path, or both.PrefixTypepublic PrefixConfig withPrefixType(PrefixType prefixType)
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
prefixType - Determines the format of the prefix, and whether it applies to the file name, file path, or both.PrefixTypepublic void setPrefixFormat(String prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
prefixFormat - Determines the level of granularity for the date and time that's included in the prefix.PrefixFormatpublic String getPrefixFormat()
Determines the level of granularity for the date and time that's included in the prefix.
PrefixFormatpublic PrefixConfig withPrefixFormat(String prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
prefixFormat - Determines the level of granularity for the date and time that's included in the prefix.PrefixFormatpublic PrefixConfig withPrefixFormat(PrefixFormat prefixFormat)
Determines the level of granularity for the date and time that's included in the prefix.
prefixFormat - Determines the level of granularity for the date and time that's included in the prefix.PrefixFormatpublic List<String> getPathPrefixHierarchy()
Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
PathPrefixpublic void setPathPrefixHierarchy(Collection<String> pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
pathPrefixHierarchy - Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
PathPrefixpublic PrefixConfig withPathPrefixHierarchy(String... pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
NOTE: This method appends the values to the existing list (if any). Use
setPathPrefixHierarchy(java.util.Collection) or withPathPrefixHierarchy(java.util.Collection)
if you want to override the existing values.
pathPrefixHierarchy - Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
PathPrefixpublic PrefixConfig withPathPrefixHierarchy(Collection<String> pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
pathPrefixHierarchy - Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
PathPrefixpublic PrefixConfig withPathPrefixHierarchy(PathPrefix... pathPrefixHierarchy)
Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
pathPrefixHierarchy - Specifies whether the destination file path includes either or both of the following elements:
The ID that Amazon AppFlow assigns to the flow run.
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
Source-to-destination field mappings
Field data types
Partition keys
PathPrefixpublic String toString()
toString in class ObjectObject.toString()public PrefixConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.