Class JiraConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<JiraConfiguration.Builder,
JiraConfiguration>
Provides the configuration information to connect to Jira as your data source.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionA list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Jira attachments to Amazon Kendra index field names.static JiraConfiguration.Builder
builder()
A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Jira comments to Amazon Kendra index field names.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 file paths, file names, and file types in your Jira data source.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 CommentFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the ExclusionPatterns 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 IssueFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the IssueSubEntityFilter property.final boolean
For responses, this returns true if the service returned a value for the IssueType property.final boolean
For responses, this returns true if the service returned a value for the Project property.final boolean
For responses, this returns true if the service returned a value for the ProjectFieldMappings property.final boolean
For responses, this returns true if the service returned a value for the Status property.final boolean
For responses, this returns true if the service returned a value for the WorkLogFieldMappings property.A list of regular expression patterns to include certain file paths, file names, and file types in your Jira data source.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Jira issues to Amazon Kendra index field names.final List
<IssueSubEntity> Specify whether to crawl comments, attachments, and work logs.Specify whether to crawl comments, attachments, and work logs.Specify which issue types to crawl in your Jira data source.final String
The URL of the Jira account.project()
Specify which projects to crawl in your Jira data source.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Jira projects to Amazon Kendra index field names.final String
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> status()
Specify which statuses to crawl in your Jira data source.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.final Boolean
TRUE
to use the Jira change log to determine which documents require updating in the index.Configuration information for an Amazon Virtual Private Cloud to connect to your Jira.A list ofDataSourceToIndexFieldMapping
objects that map attributes or field names of Jira work logs to Amazon Kendra index field names.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jiraAccountUrl
The URL of the Jira account. For example, company.atlassian.net.
- Returns:
- The URL of the Jira account. For example, company.atlassian.net.
-
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.
- Returns:
- 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.
-
-
-
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.- Returns:
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.
-
hasProject
public final boolean hasProject()For responses, this returns true if the service returned a value for the Project 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. -
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.- Returns:
- Specify which projects to crawl in your Jira data source. You can specify one or more Jira project IDs.
-
hasIssueType
public final boolean hasIssueType()For responses, this returns true if the service returned a value for the IssueType 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. -
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.- Returns:
- Specify which issue types to crawl in your Jira data source. You can specify one or more of these options to crawl.
-
hasStatus
public final boolean hasStatus()For responses, this returns true if the service returned a value for the Status 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. -
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.- Returns:
- Specify which statuses to crawl in your Jira data source. You can specify one or more of these options to crawl.
-
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.- Returns:
- Specify whether to crawl comments, attachments, and work logs. You can specify one or more of these options.
-
hasIssueSubEntityFilter
public final boolean hasIssueSubEntityFilter()For responses, this returns true if the service returned a value for the IssueSubEntityFilter 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. -
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.- Returns:
- Specify whether to crawl comments, attachments, and work logs. You can specify one or more of these options.
-
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 Jira attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.- Returns:
- 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 theUpdateIndex
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.
-
hasCommentFieldMappings
public final boolean hasCommentFieldMappings()For responses, this returns true if the service returned a value for the CommentFieldMappings 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. -
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 theUpdateIndex
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.- Returns:
- 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 theUpdateIndex
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.
-
hasIssueFieldMappings
public final boolean hasIssueFieldMappings()For responses, this returns true if the service returned a value for the IssueFieldMappings 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. -
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 theUpdateIndex
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.- Returns:
- 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 theUpdateIndex
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.
-
hasProjectFieldMappings
public final boolean hasProjectFieldMappings()For responses, this returns true if the service returned a value for the ProjectFieldMappings 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. -
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 theUpdateIndex
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.- Returns:
- 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 theUpdateIndex
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.
-
hasWorkLogFieldMappings
public final boolean hasWorkLogFieldMappings()For responses, this returns true if the service returned a value for the WorkLogFieldMappings 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. -
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 theUpdateIndex
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.- Returns:
- 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 theUpdateIndex
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.
-
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 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.- Returns:
- 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.
-
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 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.- Returns:
- 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.
-
vpcConfiguration
Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. For more information, see Configuring a VPC.
- Returns:
- Configuration information for an Amazon Virtual Private Cloud to connect to your Jira. 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<JiraConfiguration.Builder,
JiraConfiguration> - 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
-