@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SalesforceDestinationProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties that are applied when Salesforce is being used as a destination.
Constructor and Description |
---|
SalesforceDestinationProperties() |
Modifier and Type | Method and Description |
---|---|
SalesforceDestinationProperties |
clone() |
boolean |
equals(Object obj) |
ErrorHandlingConfig |
getErrorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
|
List<String> |
getIdFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
String |
getObject()
The object specified in the Salesforce flow destination.
|
String |
getWriteOperationType()
This specifies the type of write operation to be performed in Salesforce.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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 or
delete.
|
void |
setObject(String object)
The object specified in the Salesforce flow destination.
|
void |
setWriteOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce.
|
String |
toString()
Returns a string representation of this object.
|
SalesforceDestinationProperties |
withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
|
SalesforceDestinationProperties |
withIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
SalesforceDestinationProperties |
withIdFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
SalesforceDestinationProperties |
withObject(String object)
The object specified in the Salesforce flow destination.
|
SalesforceDestinationProperties |
withWriteOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce.
|
SalesforceDestinationProperties |
withWriteOperationType(WriteOperationType writeOperationType)
This specifies the type of write operation to be performed in Salesforce.
|
public void setObject(String object)
The object specified in the Salesforce flow destination.
object
- The object specified in the Salesforce flow destination.public String getObject()
The object specified in the Salesforce flow destination.
public SalesforceDestinationProperties withObject(String object)
The object specified in the Salesforce flow destination.
object
- The object specified in the Salesforce flow destination.public List<String> getIdFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
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 or delete.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update
or delete.public SalesforceDestinationProperties withIdFieldNames(String... idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
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
or delete.public SalesforceDestinationProperties withIdFieldNames(Collection<String> idFieldNames)
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
idFieldNames
- The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update
or delete.public void setErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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 Salesforce
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 Salesforce 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 SalesforceDestinationProperties withErrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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 Salesforce
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 void setWriteOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
,
then idFieldNames
is required.
writeOperationType
- This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.WriteOperationType
public String getWriteOperationType()
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
,
then idFieldNames
is required.
UPSERT
, then idFieldNames
is required.WriteOperationType
public SalesforceDestinationProperties withWriteOperationType(String writeOperationType)
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
,
then idFieldNames
is required.
writeOperationType
- This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.WriteOperationType
public SalesforceDestinationProperties withWriteOperationType(WriteOperationType writeOperationType)
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
,
then idFieldNames
is required.
writeOperationType
- This specifies the type of write operation to be performed in Salesforce. When the value is
UPSERT
, then idFieldNames
is required.WriteOperationType
public String toString()
toString
in class Object
Object.toString()
public SalesforceDestinationProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.