@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomConnectorDestinationProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties that are applied when the custom connector is being used as a destination.
Constructor and Description |
---|
CustomConnectorDestinationProperties() |
Modifier and Type | Method and Description |
---|---|
CustomConnectorDestinationProperties |
addCustomPropertiesEntry(String key,
String value)
Add a single CustomProperties entry
|
CustomConnectorDestinationProperties |
clearCustomPropertiesEntries()
Removes all the entries added into CustomProperties.
|
CustomConnectorDestinationProperties |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getCustomProperties()
The custom properties that are specific to the connector when it's used as a destination in the flow.
|
String |
getEntityName()
The entity specified in the custom connector as a destination in the flow.
|
ErrorHandlingConfig |
getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as
destination.
|
List<String> |
getIdFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete,
or upsert.
|
String |
getWriteOperationType()
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomProperties(Map<String,String> customProperties)
The custom properties that are specific to the connector when it's used as a destination in the flow.
|
void |
setEntityName(String entityName)
The entity specified in the custom connector as a destination in the flow.
|
void |
setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as
destination.
|
void |
setIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete,
or upsert.
|
void |
setWriteOperationType(String writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
|
String |
toString()
Returns a string representation of this object.
|
CustomConnectorDestinationProperties |
withCustomProperties(Map<String,String> customProperties)
The custom properties that are specific to the connector when it's used as a destination in the flow.
|
CustomConnectorDestinationProperties |
withEntityName(String entityName)
The entity specified in the custom connector as a destination in the flow.
|
CustomConnectorDestinationProperties |
withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as
destination.
|
CustomConnectorDestinationProperties |
withIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete,
or upsert.
|
CustomConnectorDestinationProperties |
withIdFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete,
or upsert.
|
CustomConnectorDestinationProperties |
withWriteOperationType(String writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
|
CustomConnectorDestinationProperties |
withWriteOperationType(WriteOperationType writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
|
public CustomConnectorDestinationProperties()
public void setEntityName(String entityName)
The entity specified in the custom connector as a destination in the flow.
entityName
- The entity specified in the custom connector as a destination in the flow.public String getEntityName()
The entity specified in the custom connector as a destination in the flow.
public CustomConnectorDestinationProperties withEntityName(String entityName)
The entity specified in the custom connector as a destination in the flow.
entityName
- The entity specified in the custom connector as a destination in the flow.public void setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector
as destination.public ErrorHandlingConfig getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
public CustomConnectorDestinationProperties withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector
as destination.public void setWriteOperationType(String writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as
destination.WriteOperationType
public String getWriteOperationType()
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
WriteOperationType
public CustomConnectorDestinationProperties withWriteOperationType(String writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as
destination.WriteOperationType
public CustomConnectorDestinationProperties withWriteOperationType(WriteOperationType writeOperationType)
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
writeOperationType
- Specifies the type of write operation to be performed in the custom connector when it's used as
destination.WriteOperationType
public List<String> getIdFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
public void setIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update,
delete, or upsert.public CustomConnectorDestinationProperties withIdFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
NOTE: This method appends the values to the existing list (if any). Use
setIdFieldNames(java.util.Collection)
or withIdFieldNames(java.util.Collection)
if you want to
override the existing values.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update,
delete, or upsert.public CustomConnectorDestinationProperties withIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update,
delete, or upsert.public Map<String,String> getCustomProperties()
The custom properties that are specific to the connector when it's used as a destination in the flow.
public void setCustomProperties(Map<String,String> customProperties)
The custom properties that are specific to the connector when it's used as a destination in the flow.
customProperties
- The custom properties that are specific to the connector when it's used as a destination in the flow.public CustomConnectorDestinationProperties withCustomProperties(Map<String,String> customProperties)
The custom properties that are specific to the connector when it's used as a destination in the flow.
customProperties
- The custom properties that are specific to the connector when it's used as a destination in the flow.public CustomConnectorDestinationProperties addCustomPropertiesEntry(String key, String value)
public CustomConnectorDestinationProperties clearCustomPropertiesEntries()
public String toString()
toString
in class Object
Object.toString()
public CustomConnectorDestinationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.