@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Output extends Object implements Serializable, Cloneable, StructuredPojo
Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs.
Constructor and Description |
---|
Output() |
Modifier and Type | Method and Description |
---|---|
Output |
clone() |
boolean |
equals(Object obj) |
String |
getCompressionFormat()
The compression algorithm used to compress the output text of the job.
|
String |
getFormat()
The data format of the output of the job.
|
OutputFormatOptions |
getFormatOptions()
Represents options that define how DataBrew formats job output files.
|
S3Location |
getLocation()
The location in Amazon S3 where the job writes its output.
|
Integer |
getMaxOutputFiles()
Maximum number of files to be generated by the job and written to the output folder.
|
Boolean |
getOverwrite()
A value that, if true, means that any data in the location specified for output is overwritten with new output.
|
List<String> |
getPartitionColumns()
The names of one or more partition columns for the output of the job.
|
int |
hashCode() |
Boolean |
isOverwrite()
A value that, if true, means that any data in the location specified for output is overwritten with new output.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompressionFormat(String compressionFormat)
The compression algorithm used to compress the output text of the job.
|
void |
setFormat(String format)
The data format of the output of the job.
|
void |
setFormatOptions(OutputFormatOptions formatOptions)
Represents options that define how DataBrew formats job output files.
|
void |
setLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
|
void |
setMaxOutputFiles(Integer maxOutputFiles)
Maximum number of files to be generated by the job and written to the output folder.
|
void |
setOverwrite(Boolean overwrite)
A value that, if true, means that any data in the location specified for output is overwritten with new output.
|
void |
setPartitionColumns(Collection<String> partitionColumns)
The names of one or more partition columns for the output of the job.
|
String |
toString()
Returns a string representation of this object.
|
Output |
withCompressionFormat(CompressionFormat compressionFormat)
The compression algorithm used to compress the output text of the job.
|
Output |
withCompressionFormat(String compressionFormat)
The compression algorithm used to compress the output text of the job.
|
Output |
withFormat(OutputFormat format)
The data format of the output of the job.
|
Output |
withFormat(String format)
The data format of the output of the job.
|
Output |
withFormatOptions(OutputFormatOptions formatOptions)
Represents options that define how DataBrew formats job output files.
|
Output |
withLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
|
Output |
withMaxOutputFiles(Integer maxOutputFiles)
Maximum number of files to be generated by the job and written to the output folder.
|
Output |
withOverwrite(Boolean overwrite)
A value that, if true, means that any data in the location specified for output is overwritten with new output.
|
Output |
withPartitionColumns(Collection<String> partitionColumns)
The names of one or more partition columns for the output of the job.
|
Output |
withPartitionColumns(String... partitionColumns)
The names of one or more partition columns for the output of the job.
|
public void setCompressionFormat(String compressionFormat)
The compression algorithm used to compress the output text of the job.
compressionFormat
- The compression algorithm used to compress the output text of the job.CompressionFormat
public String getCompressionFormat()
The compression algorithm used to compress the output text of the job.
CompressionFormat
public Output withCompressionFormat(String compressionFormat)
The compression algorithm used to compress the output text of the job.
compressionFormat
- The compression algorithm used to compress the output text of the job.CompressionFormat
public Output withCompressionFormat(CompressionFormat compressionFormat)
The compression algorithm used to compress the output text of the job.
compressionFormat
- The compression algorithm used to compress the output text of the job.CompressionFormat
public void setFormat(String format)
The data format of the output of the job.
format
- The data format of the output of the job.OutputFormat
public String getFormat()
The data format of the output of the job.
OutputFormat
public Output withFormat(String format)
The data format of the output of the job.
format
- The data format of the output of the job.OutputFormat
public Output withFormat(OutputFormat format)
The data format of the output of the job.
format
- The data format of the output of the job.OutputFormat
public List<String> getPartitionColumns()
The names of one or more partition columns for the output of the job.
public void setPartitionColumns(Collection<String> partitionColumns)
The names of one or more partition columns for the output of the job.
partitionColumns
- The names of one or more partition columns for the output of the job.public Output withPartitionColumns(String... partitionColumns)
The names of one or more partition columns for the output of the job.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionColumns(java.util.Collection)
or withPartitionColumns(java.util.Collection)
if you
want to override the existing values.
partitionColumns
- The names of one or more partition columns for the output of the job.public Output withPartitionColumns(Collection<String> partitionColumns)
The names of one or more partition columns for the output of the job.
partitionColumns
- The names of one or more partition columns for the output of the job.public void setLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
location
- The location in Amazon S3 where the job writes its output.public S3Location getLocation()
The location in Amazon S3 where the job writes its output.
public Output withLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
location
- The location in Amazon S3 where the job writes its output.public void setOverwrite(Boolean overwrite)
A value that, if true, means that any data in the location specified for output is overwritten with new output.
overwrite
- A value that, if true, means that any data in the location specified for output is overwritten with new
output.public Boolean getOverwrite()
A value that, if true, means that any data in the location specified for output is overwritten with new output.
public Output withOverwrite(Boolean overwrite)
A value that, if true, means that any data in the location specified for output is overwritten with new output.
overwrite
- A value that, if true, means that any data in the location specified for output is overwritten with new
output.public Boolean isOverwrite()
A value that, if true, means that any data in the location specified for output is overwritten with new output.
public void setFormatOptions(OutputFormatOptions formatOptions)
Represents options that define how DataBrew formats job output files.
formatOptions
- Represents options that define how DataBrew formats job output files.public OutputFormatOptions getFormatOptions()
Represents options that define how DataBrew formats job output files.
public Output withFormatOptions(OutputFormatOptions formatOptions)
Represents options that define how DataBrew formats job output files.
formatOptions
- Represents options that define how DataBrew formats job output files.public void setMaxOutputFiles(Integer maxOutputFiles)
Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.
maxOutputFiles
- Maximum number of files to be generated by the job and written to the output folder. For output
partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.public Integer getMaxOutputFiles()
Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.
public Output withMaxOutputFiles(Integer maxOutputFiles)
Maximum number of files to be generated by the job and written to the output folder. For output partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.
maxOutputFiles
- Maximum number of files to be generated by the job and written to the output folder. For output
partitioned by column(s), the MaxOutputFiles value is the maximum number of files per partition.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.