@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceDestinationProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceDestinationProperties.Builder,SalesforceDestinationProperties>
The properties that are applied when Salesforce is being used as a destination.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceDestinationProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceDestinationProperties.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorHandlingConfig |
errorHandlingConfig()
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIdFieldNames()
Returns true if the IdFieldNames property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
idFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or
delete.
|
String |
object()
The object specified in the Salesforce flow destination.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceDestinationProperties.Builder> |
serializableBuilderClass() |
SalesforceDestinationProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
WriteOperationType |
writeOperationType()
This specifies the type of write operation to be performed in Salesforce.
|
String |
writeOperationTypeAsString()
This specifies the type of write operation to be performed in Salesforce.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String object()
The object specified in the Salesforce flow destination.
public final boolean hasIdFieldNames()
public final List<String> idFieldNames()
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIdFieldNames() to see if a value was sent in this field.
public final 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 is a part of the destination connector details.public final WriteOperationType writeOperationType()
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT,
then idFieldNames is required.
If the service returns an enum value that is not available in the current SDK version,
writeOperationType will return WriteOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from writeOperationTypeAsString().
UPSERT, then idFieldNames is required.WriteOperationTypepublic final String writeOperationTypeAsString()
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT,
then idFieldNames is required.
If the service returns an enum value that is not available in the current SDK version,
writeOperationType will return WriteOperationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from writeOperationTypeAsString().
UPSERT, then idFieldNames is required.WriteOperationTypepublic SalesforceDestinationProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceDestinationProperties.Builder,SalesforceDestinationProperties>public static SalesforceDestinationProperties.Builder builder()
public static Class<? extends SalesforceDestinationProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.