Class QuipConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<QuipConfiguration.Builder,
QuipConfiguration>
Provides the configuration information to connect to Quip as your data source.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionA list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Quip attachments to Amazon Kendra index field names.static QuipConfiguration.Builder
builder()
final Boolean
TRUE
to index attachments.final Boolean
TRUE
to index the contents of chat rooms.final Boolean
TRUE
to index file comments.final String
domain()
The Quip site domain.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.A list of regular expression patterns to exclude certain files in your Quip file system.The identifiers of the Quip folders you want to index.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the AttachmentFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the ExclusionPatterns property.final boolean
For responses, this returns true if the service returned a value for the FolderIds property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the InclusionPatterns property.final boolean
For responses, this returns true if the service returned a value for the MessageFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the ThreadFieldMappings property.A list of regular expression patterns to include certain files in your Quip file system.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Quip messages to Amazon Kendra index field names.final String
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are required to connect to your Quip.static Class
<? extends QuipConfiguration.Builder> A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Quip threads to Amazon Kendra index field names.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
domain
The Quip site domain. For example, https://quip-company.quipdomain.com/browse. The domain in this example is "quipdomain".
- Returns:
- The Quip site domain. For example, https://quip-company.quipdomain.com/browse. The domain in this example is "quipdomain".
-
secretArn
The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are required to connect to your Quip. The secret must contain a JSON structure with the following keys:
-
accessToken—The token created in Quip. For more information, see Using a Quip data source.
- Returns:
- The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs that are
required to connect to your Quip. The secret must contain a JSON structure with the following keys:
-
accessToken—The token created in Quip. For more information, see Using a Quip data source.
-
-
-
crawlFileComments
TRUE
to index file comments.- Returns:
TRUE
to index file comments.
-
crawlChatRooms
TRUE
to index the contents of chat rooms.- Returns:
TRUE
to index the contents of chat rooms.
-
crawlAttachments
TRUE
to index attachments.- Returns:
TRUE
to index attachments.
-
hasFolderIds
public final boolean hasFolderIds()For responses, this returns true if the service returned a value for the FolderIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
folderIds
The identifiers of the Quip folders you want to index. You can find the folder ID in your browser URL when you access your folder in Quip. For example, https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder ID in this example is "zlLuOVNSarTL".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasFolderIds()
method.- Returns:
- The identifiers of the Quip folders you want to index. You can find the folder ID in your browser URL when you access your folder in Quip. For example, https://quip-company.quipdomain.com/zlLuOVNSarTL/folder-name. The folder ID in this example is "zlLuOVNSarTL".
-
hasThreadFieldMappings
public final boolean hasThreadFieldMappings()For responses, this returns true if the service returned a value for the ThreadFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
threadFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip threads to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasThreadFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip threads to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.
-
hasMessageFieldMappings
public final boolean hasMessageFieldMappings()For responses, this returns true if the service returned a value for the MessageFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
messageFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip messages to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasMessageFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip messages to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.
-
hasAttachmentFieldMappings
public final boolean hasAttachmentFieldMappings()For responses, this returns true if the service returned a value for the AttachmentFieldMappings property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
attachmentFieldMappings
A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAttachmentFieldMappings()
method.- Returns:
- A list of
DataSourceToIndexFieldMapping
objects that map attributes or field names of Quip attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
API before you map to Quip fields. For more information, see Mapping data source fields. The Quip field names must exist in your Quip custom metadata.
-
hasInclusionPatterns
public final boolean hasInclusionPatterns()For responses, this returns true if the service returned a value for the InclusionPatterns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
inclusionPatterns
A list of regular expression patterns to include certain files in your Quip file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasInclusionPatterns()
method.- Returns:
- A list of regular expression patterns to include certain files in your Quip file system. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
-
hasExclusionPatterns
public final boolean hasExclusionPatterns()For responses, this returns true if the service returned a value for the ExclusionPatterns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
exclusionPatterns
A list of regular expression patterns to exclude certain files in your Quip file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasExclusionPatterns()
method.- Returns:
- A list of regular expression patterns to exclude certain files in your Quip file system. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence, and the file isn't included in the index.
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.
- Returns:
- Configuration information for an Amazon Virtual Private Cloud (VPC) to connect to your Quip. For more information, see Configuring a VPC.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<QuipConfiguration.Builder,
QuipConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-