@Generated(value="software.amazon.awssdk:codegen") public final class JiraConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JiraConfiguration.Builder,JiraConfiguration>
Provides the configuration information to connect to Jira as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JiraConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<DataSourceToIndexFieldMapping> |
attachmentFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
attachments to Amazon Kendra index field names. |
static JiraConfiguration.Builder |
builder() |
List<DataSourceToIndexFieldMapping> |
commentFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira comments
to Amazon Kendra index field names. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
exclusionPatterns()
A list of regular expression patterns to exclude certain file paths, file names, and file types in your Jira data
source.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttachmentFieldMappings()
For responses, this returns true if the service returned a value for the AttachmentFieldMappings property.
|
boolean |
hasCommentFieldMappings()
For responses, this returns true if the service returned a value for the CommentFieldMappings property.
|
boolean |
hasExclusionPatterns()
For responses, this returns true if the service returned a value for the ExclusionPatterns property.
|
int |
hashCode() |
boolean |
hasInclusionPatterns()
For responses, this returns true if the service returned a value for the InclusionPatterns property.
|
boolean |
hasIssueFieldMappings()
For responses, this returns true if the service returned a value for the IssueFieldMappings property.
|
boolean |
hasIssueSubEntityFilter()
For responses, this returns true if the service returned a value for the IssueSubEntityFilter property.
|
boolean |
hasIssueType()
For responses, this returns true if the service returned a value for the IssueType property.
|
boolean |
hasProject()
For responses, this returns true if the service returned a value for the Project property.
|
boolean |
hasProjectFieldMappings()
For responses, this returns true if the service returned a value for the ProjectFieldMappings property.
|
boolean |
hasStatus()
For responses, this returns true if the service returned a value for the Status property.
|
boolean |
hasWorkLogFieldMappings()
For responses, this returns true if the service returned a value for the WorkLogFieldMappings property.
|
List<String> |
inclusionPatterns()
A list of regular expression patterns to include certain file paths, file names, and file types in your Jira data
source.
|
List<DataSourceToIndexFieldMapping> |
issueFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira issues to
Amazon Kendra index field names. |
List<IssueSubEntity> |
issueSubEntityFilter()
Specify whether to crawl comments, attachments, and work logs.
|
List<String> |
issueSubEntityFilterAsStrings()
Specify whether to crawl comments, attachments, and work logs.
|
List<String> |
issueType()
Specify which issue types to crawl in your Jira data source.
|
String |
jiraAccountUrl()
The URL of the Jira account.
|
List<String> |
project()
Specify which projects to crawl in your Jira data source.
|
List<DataSourceToIndexFieldMapping> |
projectFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira projects
to Amazon Kendra index field names. |
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to
your Jira data source.
|
static Class<? extends JiraConfiguration.Builder> |
serializableBuilderClass() |
List<String> |
status()
Specify which statuses to crawl in your Jira data source.
|
JiraConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
useChangeLog()
TRUE to use the Jira change log to determine which documents require updating in the index. |
DataSourceVpcConfiguration |
vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Jira.
|
List<DataSourceToIndexFieldMapping> |
workLogFieldMappings()
A list of
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira work logs
to Amazon Kendra index field names. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jiraAccountUrl()
The URL of the Jira account. For example, company.atlassian.net.
public final String secretArn()
The Amazon Resource Name (ARN) of a secret in Secrets Manager contains the key-value pairs required to connect to your Jira data source. The secret must contain a JSON structure with the following keys:
jiraId—The Jira user name or email.
jiraCredentials—The Jira API token. For more information, see Using a Jira data source.
jiraId—The Jira user name or email.
jiraCredentials—The Jira API token. For more information, see Using a Jira data source.
public final Boolean useChangeLog()
TRUE to use the Jira change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to scan all
of your documents in Jira.
TRUE to use the Jira change log to determine which documents require updating in the index.
Depending on the change log's size, it may take longer for Amazon Kendra to use the change log than to
scan all of your documents in Jira.public final boolean hasProject()
isEmpty() 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.public final List<String> project()
Specify which projects to crawl in your Jira data source. You can specify one or more Jira project IDs.
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 hasProject() method.
public final boolean hasIssueType()
isEmpty() 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.public final List<String> issueType()
Specify which issue types to crawl in your Jira data source. You can specify one or more of these options to crawl.
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 hasIssueType() method.
public final boolean hasStatus()
isEmpty() 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.public final List<String> status()
Specify which statuses to crawl in your Jira data source. You can specify one or more of these options to crawl.
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 hasStatus() method.
public final List<IssueSubEntity> issueSubEntityFilter()
Specify whether to crawl comments, attachments, and work logs. You can specify one or more of these options.
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 hasIssueSubEntityFilter() method.
public final boolean hasIssueSubEntityFilter()
isEmpty() 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.public final List<String> issueSubEntityFilterAsStrings()
Specify whether to crawl comments, attachments, and work logs. You can specify one or more of these options.
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 hasIssueSubEntityFilter() method.
public final boolean hasAttachmentFieldMappings()
isEmpty() 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.public final List<DataSourceToIndexFieldMapping> attachmentFieldMappings()
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Jira fields. For more information, see Mapping data source fields. The Jira
data source field names must exist in your Jira 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.
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
attachments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Jira fields. For more information, see Mapping data source fields.
The Jira data source field names must exist in your Jira custom metadata.public final boolean hasCommentFieldMappings()
isEmpty() 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.public final List<DataSourceToIndexFieldMapping> commentFieldMappings()
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira comments
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map
to Jira fields. For more information, see Mapping data source fields. The Jira
data source field names must exist in your Jira 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 hasCommentFieldMappings() method.
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
comments to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Jira fields. For more information, see Mapping data source fields.
The Jira data source field names must exist in your Jira custom metadata.public final boolean hasIssueFieldMappings()
isEmpty() 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.public final List<DataSourceToIndexFieldMapping> issueFieldMappings()
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira issues to
Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to
Jira fields. For more information, see
Mapping data source fields. The Jira data source field names must exist in your Jira 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 hasIssueFieldMappings() method.
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
issues to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API
before you map to Jira fields. For more information, see Mapping data source fields.
The Jira data source field names must exist in your Jira custom metadata.public final boolean hasProjectFieldMappings()
isEmpty() 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.public final List<DataSourceToIndexFieldMapping> projectFieldMappings()
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira projects
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map
to Jira fields. For more information, see Mapping data source fields. The Jira
data source field names must exist in your Jira 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 hasProjectFieldMappings() method.
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
projects to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Jira fields. For more information, see Mapping data source fields.
The Jira data source field names must exist in your Jira custom metadata.public final boolean hasWorkLogFieldMappings()
isEmpty() 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.public final List<DataSourceToIndexFieldMapping> workLogFieldMappings()
A list of DataSourceToIndexFieldMapping objects that map attributes or field names of Jira work logs
to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map
to Jira fields. For more information, see Mapping data source fields. The Jira
data source field names must exist in your Jira 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 hasWorkLogFieldMappings() method.
DataSourceToIndexFieldMapping objects that map attributes or field names of Jira
work logs to Amazon Kendra index field names. To create custom fields, use the UpdateIndex
API before you map to Jira fields. For more information, see Mapping data source fields.
The Jira data source field names must exist in your Jira custom metadata.public final boolean hasInclusionPatterns()
isEmpty() 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.public final List<String> inclusionPatterns()
A list of regular expression patterns to include certain file paths, file names, and file types in your Jira data source. 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.
public final boolean hasExclusionPatterns()
isEmpty() 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.public final List<String> exclusionPatterns()
A list of regular expression patterns to exclude certain file paths, file names, and file types in your Jira data source. 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.
public final DataSourceVpcConfiguration vpcConfiguration()
Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. For more information, see Configuring a VPC.
public JiraConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JiraConfiguration.Builder,JiraConfiguration>public static JiraConfiguration.Builder builder()
public static Class<? extends JiraConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.