@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RedshiftDestinationProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties that are applied when Amazon Redshift is being used as a destination.
Constructor and Description |
---|
RedshiftDestinationProperties() |
Modifier and Type | Method and Description |
---|---|
RedshiftDestinationProperties |
clone() |
boolean |
equals(Object obj) |
String |
getBucketPrefix()
The object key for the bucket in which Amazon AppFlow places the destination files.
|
ErrorHandlingConfig |
getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination.
|
String |
getIntermediateBucketName()
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
|
String |
getObject()
The object specified in the Amazon Redshift flow destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucketPrefix(String bucketPrefix)
The object key for the bucket in which Amazon AppFlow places the destination files.
|
void |
setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination.
|
void |
setIntermediateBucketName(String intermediateBucketName)
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
|
void |
setObject(String object)
The object specified in the Amazon Redshift flow destination.
|
String |
toString()
Returns a string representation of this object.
|
RedshiftDestinationProperties |
withBucketPrefix(String bucketPrefix)
The object key for the bucket in which Amazon AppFlow places the destination files.
|
RedshiftDestinationProperties |
withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination.
|
RedshiftDestinationProperties |
withIntermediateBucketName(String intermediateBucketName)
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
|
RedshiftDestinationProperties |
withObject(String object)
The object specified in the Amazon Redshift flow destination.
|
public void setObject(String object)
The object specified in the Amazon Redshift flow destination.
object
- The object specified in the Amazon Redshift flow destination.public String getObject()
The object specified in the Amazon Redshift flow destination.
public RedshiftDestinationProperties withObject(String object)
The object specified in the Amazon Redshift flow destination.
object
- The object specified in the Amazon Redshift flow destination.public void setIntermediateBucketName(String intermediateBucketName)
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
intermediateBucketName
- The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.public String getIntermediateBucketName()
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
public RedshiftDestinationProperties withIntermediateBucketName(String intermediateBucketName)
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
intermediateBucketName
- The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.public void setBucketPrefix(String bucketPrefix)
The object key for the bucket in which Amazon AppFlow places the destination files.
bucketPrefix
- The object key for the bucket in which Amazon AppFlow places the destination files.public String getBucketPrefix()
The object key for the bucket in which Amazon AppFlow places the destination files.
public RedshiftDestinationProperties withBucketPrefix(String bucketPrefix)
The object key for the bucket in which Amazon AppFlow places the destination files.
bucketPrefix
- The object key for the bucket in which Amazon AppFlow places the destination files.public void setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination. For example, this setting would determine if the flow should fail after one insertion error, or
continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination. For example, this setting would determine if the flow should fail after one insertion error,
or continue and attempt to insert every record regardless of the initial failure.
ErrorHandlingConfig
is a part of the destination connector details.public ErrorHandlingConfig getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination. For example, this setting would determine if the flow should fail after one insertion error, or
continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
ErrorHandlingConfig
is a part of the destination connector details.public RedshiftDestinationProperties withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination. For example, this setting would determine if the flow should fail after one insertion error, or
continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift
destination. For example, this setting would determine if the flow should fail after one insertion error,
or continue and attempt to insert every record regardless of the initial failure.
ErrorHandlingConfig
is a part of the destination connector details.public String toString()
toString
in class Object
Object.toString()
public RedshiftDestinationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.