@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceStandardObjectConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceStandardObjectConfiguration.Builder,SalesforceStandardObjectConfiguration>
Specifies confguration information for indexing a single standard object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceStandardObjectConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceStandardObjectConfiguration.Builder |
builder() |
String |
documentDataFieldName()
The name of the field in the standard object table that contains the document contents.
|
String |
documentTitleFieldName()
The name of the field in the standard object table that contains the document titleB.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<DataSourceToIndexFieldMapping> |
fieldMappings()
One or more objects that map fields in the standard object to Amazon Kendra index fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFieldMappings()
Returns true if the FieldMappings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
SalesforceStandardObjectName |
name()
The name of the standard object.
|
String |
nameAsString()
The name of the standard object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SalesforceStandardObjectConfiguration.Builder> |
serializableBuilderClass() |
SalesforceStandardObjectConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SalesforceStandardObjectName name()
The name of the standard object.
If the service returns an enum value that is not available in the current SDK version, name will return
SalesforceStandardObjectName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
SalesforceStandardObjectNamepublic String nameAsString()
The name of the standard object.
If the service returns an enum value that is not available in the current SDK version, name will return
SalesforceStandardObjectName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
SalesforceStandardObjectNamepublic String documentDataFieldName()
The name of the field in the standard object table that contains the document contents.
public String documentTitleFieldName()
The name of the field in the standard object table that contains the document titleB.
public boolean hasFieldMappings()
public List<DataSourceToIndexFieldMapping> fieldMappings()
One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFieldMappings() to see if a value was sent in this field.
public SalesforceStandardObjectConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceStandardObjectConfiguration.Builder,SalesforceStandardObjectConfiguration>public static SalesforceStandardObjectConfiguration.Builder builder()
public static Class<? extends SalesforceStandardObjectConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.