@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3DirectTarget extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a data target that writes to Amazon S3.
Constructor and Description |
---|
S3DirectTarget() |
Modifier and Type | Method and Description |
---|---|
S3DirectTarget |
clone() |
boolean |
equals(Object obj) |
String |
getCompression()
Specifies how the data is compressed.
|
String |
getFormat()
Specifies the data output format for the target.
|
List<String> |
getInputs()
The nodes that are inputs to the data target.
|
String |
getName()
The name of the data target.
|
List<List<String>> |
getPartitionKeys()
Specifies native partitioning using a sequence of keys.
|
String |
getPath()
A single Amazon S3 path to write to.
|
DirectSchemaChangePolicy |
getSchemaChangePolicy()
A policy that specifies update behavior for the crawler.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompression(String compression)
Specifies how the data is compressed.
|
void |
setFormat(String format)
Specifies the data output format for the target.
|
void |
setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
void |
setName(String name)
The name of the data target.
|
void |
setPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
void |
setPath(String path)
A single Amazon S3 path to write to.
|
void |
setSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
String |
toString()
Returns a string representation of this object.
|
S3DirectTarget |
withCompression(String compression)
Specifies how the data is compressed.
|
S3DirectTarget |
withFormat(String format)
Specifies the data output format for the target.
|
S3DirectTarget |
withFormat(TargetFormat format)
Specifies the data output format for the target.
|
S3DirectTarget |
withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
|
S3DirectTarget |
withInputs(String... inputs)
The nodes that are inputs to the data target.
|
S3DirectTarget |
withName(String name)
The name of the data target.
|
S3DirectTarget |
withPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3DirectTarget |
withPartitionKeys(List<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
|
S3DirectTarget |
withPath(String path)
A single Amazon S3 path to write to.
|
S3DirectTarget |
withSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
|
public void setName(String name)
The name of the data target.
name
- The name of the data target.public String getName()
The name of the data target.
public S3DirectTarget withName(String name)
The name of the data target.
name
- The name of the data target.public List<String> getInputs()
The nodes that are inputs to the data target.
public void setInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public S3DirectTarget withInputs(String... inputs)
The nodes that are inputs to the data target.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The nodes that are inputs to the data target.public S3DirectTarget withInputs(Collection<String> inputs)
The nodes that are inputs to the data target.
inputs
- The nodes that are inputs to the data target.public List<List<String>> getPartitionKeys()
Specifies native partitioning using a sequence of keys.
public void setPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.public S3DirectTarget withPartitionKeys(List<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
NOTE: This method appends the values to the existing list (if any). Use
setPartitionKeys(java.util.Collection)
or withPartitionKeys(java.util.Collection)
if you want
to override the existing values.
partitionKeys
- Specifies native partitioning using a sequence of keys.public S3DirectTarget withPartitionKeys(Collection<List<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
partitionKeys
- Specifies native partitioning using a sequence of keys.public void setPath(String path)
A single Amazon S3 path to write to.
path
- A single Amazon S3 path to write to.public String getPath()
A single Amazon S3 path to write to.
public S3DirectTarget withPath(String path)
A single Amazon S3 path to write to.
path
- A single Amazon S3 path to write to.public void setCompression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip"
and "bzip"
).public String getCompression()
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
"gzip"
and "bzip"
).public S3DirectTarget withCompression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are "gzip"
and "bzip"
).
compression
- Specifies how the data is compressed. This is generally not necessary if the data has a standard file
extension. Possible values are "gzip"
and "bzip"
).public void setFormat(String format)
Specifies the data output format for the target.
format
- Specifies the data output format for the target.TargetFormat
public String getFormat()
Specifies the data output format for the target.
TargetFormat
public S3DirectTarget withFormat(String format)
Specifies the data output format for the target.
format
- Specifies the data output format for the target.TargetFormat
public S3DirectTarget withFormat(TargetFormat format)
Specifies the data output format for the target.
format
- Specifies the data output format for the target.TargetFormat
public void setSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy
- A policy that specifies update behavior for the crawler.public DirectSchemaChangePolicy getSchemaChangePolicy()
A policy that specifies update behavior for the crawler.
public S3DirectTarget withSchemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
schemaChangePolicy
- A policy that specifies update behavior for the crawler.public String toString()
toString
in class Object
Object.toString()
public S3DirectTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.