@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AggregationConfig extends Object implements Serializable, Cloneable, StructuredPojo
The aggregation settings that you can use to customize the output format of your flow data.
Constructor and Description |
---|
AggregationConfig() |
Modifier and Type | Method and Description |
---|---|
AggregationConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAggregationType()
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
|
Long |
getTargetFileSize()
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregationType(String aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
|
void |
setTargetFileSize(Long targetFileSize)
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination.
|
String |
toString()
Returns a string representation of this object.
|
AggregationConfig |
withAggregationType(AggregationType aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
|
AggregationConfig |
withAggregationType(String aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
|
AggregationConfig |
withTargetFileSize(Long targetFileSize)
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination.
|
public void setAggregationType(String aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
aggregationType
- Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them
unaggregated.AggregationType
public String getAggregationType()
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
AggregationType
public AggregationConfig withAggregationType(String aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
aggregationType
- Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them
unaggregated.AggregationType
public AggregationConfig withAggregationType(AggregationType aggregationType)
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
aggregationType
- Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them
unaggregated.AggregationType
public void setTargetFileSize(Long targetFileSize)
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
targetFileSize
- The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For
each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might
differ from this target based on the number and size of the records that each file contains.public Long getTargetFileSize()
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
public AggregationConfig withTargetFileSize(Long targetFileSize)
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
targetFileSize
- The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For
each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might
differ from this target based on the number and size of the records that each file contains.public String toString()
toString
in class Object
Object.toString()
public AggregationConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.