@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Output extends Object implements Serializable, Cloneable, StructuredPojo
Represents individual output from a particular job run.
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.
|
S3Location |
getLocation()
The location in Amazon S3 where the job writes its output.
|
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 |
setLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
|
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 |
withLocation(S3Location location)
The location in Amazon S3 where the job writes its output.
|
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 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.