@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceStandardObjectConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceStandardObjectConfiguration.Builder,SalesforceStandardObjectConfiguration>
Specifies configuration 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 title.
|
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 final 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 final 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 final String documentDataFieldName()
The name of the field in the standard object table that contains the document contents.
public final String documentTitleFieldName()
The name of the field in the standard object table that contains the document title.
public final boolean hasFieldMappings()
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.