@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceNowConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information required to connect to a ServiceNow data source.
Constructor and Description |
---|
ServiceNowConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServiceNowConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
Determines the type of authentication used to connect to the ServiceNow instance.
|
String |
getHostUrl()
The ServiceNow instance that the data source connects to.
|
ServiceNowKnowledgeArticleConfiguration |
getKnowledgeArticleConfiguration()
Provides configuration information for crawling knowledge articles in the ServiceNow site.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required
to connect to the ServiceNow instance.
|
ServiceNowServiceCatalogConfiguration |
getServiceCatalogConfiguration()
Provides configuration information for crawling service catalogs in the ServiceNow site.
|
String |
getServiceNowBuildVersion()
The identifier of the release that the ServiceNow host is running.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationType(String authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance.
|
void |
setHostUrl(String hostUrl)
The ServiceNow instance that the data source connects to.
|
void |
setKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Provides configuration information for crawling knowledge articles in the ServiceNow site.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required
to connect to the ServiceNow instance.
|
void |
setServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Provides configuration information for crawling service catalogs in the ServiceNow site.
|
void |
setServiceNowBuildVersion(String serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running.
|
String |
toString()
Returns a string representation of this object.
|
ServiceNowConfiguration |
withAuthenticationType(ServiceNowAuthenticationType authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance.
|
ServiceNowConfiguration |
withAuthenticationType(String authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance.
|
ServiceNowConfiguration |
withHostUrl(String hostUrl)
The ServiceNow instance that the data source connects to.
|
ServiceNowConfiguration |
withKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Provides configuration information for crawling knowledge articles in the ServiceNow site.
|
ServiceNowConfiguration |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required
to connect to the ServiceNow instance.
|
ServiceNowConfiguration |
withServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Provides configuration information for crawling service catalogs in the ServiceNow site.
|
ServiceNowConfiguration |
withServiceNowBuildVersion(ServiceNowBuildVersionType serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running.
|
ServiceNowConfiguration |
withServiceNowBuildVersion(String serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running.
|
public void setHostUrl(String hostUrl)
The ServiceNow instance that the data source connects to. The host endpoint should look like the following:
{instance}.service-now.com.
hostUrl
- The ServiceNow instance that the data source connects to. The host endpoint should look like the
following: {instance}.service-now.com.
public String getHostUrl()
The ServiceNow instance that the data source connects to. The host endpoint should look like the following:
{instance}.service-now.com.
{instance}.service-now.com.
public ServiceNowConfiguration withHostUrl(String hostUrl)
The ServiceNow instance that the data source connects to. The host endpoint should look like the following:
{instance}.service-now.com.
hostUrl
- The ServiceNow instance that the data source connects to. The host endpoint should look like the
following: {instance}.service-now.com.
public void setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required to connect to the ServiceNow instance.
secretArn
- The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password
required to connect to the ServiceNow instance.public String getSecretArn()
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required to connect to the ServiceNow instance.
public ServiceNowConfiguration withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password required to connect to the ServiceNow instance.
secretArn
- The Amazon Resource Name (ARN) of the AWS Secret Manager secret that contains the user name and password
required to connect to the ServiceNow instance.public void setServiceNowBuildVersion(String serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.
serviceNowBuildVersion
- The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.ServiceNowBuildVersionType
public String getServiceNowBuildVersion()
The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.
LONDON
release, use OTHERS
.ServiceNowBuildVersionType
public ServiceNowConfiguration withServiceNowBuildVersion(String serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.
serviceNowBuildVersion
- The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.ServiceNowBuildVersionType
public ServiceNowConfiguration withServiceNowBuildVersion(ServiceNowBuildVersionType serviceNowBuildVersion)
The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.
serviceNowBuildVersion
- The identifier of the release that the ServiceNow host is running. If the host is not running the
LONDON
release, use OTHERS
.ServiceNowBuildVersionType
public void setKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Provides configuration information for crawling knowledge articles in the ServiceNow site.
knowledgeArticleConfiguration
- Provides configuration information for crawling knowledge articles in the ServiceNow site.public ServiceNowKnowledgeArticleConfiguration getKnowledgeArticleConfiguration()
Provides configuration information for crawling knowledge articles in the ServiceNow site.
public ServiceNowConfiguration withKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Provides configuration information for crawling knowledge articles in the ServiceNow site.
knowledgeArticleConfiguration
- Provides configuration information for crawling knowledge articles in the ServiceNow site.public void setServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Provides configuration information for crawling service catalogs in the ServiceNow site.
serviceCatalogConfiguration
- Provides configuration information for crawling service catalogs in the ServiceNow site.public ServiceNowServiceCatalogConfiguration getServiceCatalogConfiguration()
Provides configuration information for crawling service catalogs in the ServiceNow site.
public ServiceNowConfiguration withServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Provides configuration information for crawling service catalogs in the ServiceNow site.
serviceCatalogConfiguration
- Provides configuration information for crawling service catalogs in the ServiceNow site.public void setAuthenticationType(String authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the AWS
Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
, Amazon Kendra is
authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and
password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
authenticationType
- Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the
AWS Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
,
Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret,
and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
ServiceNowAuthenticationType
public String getAuthenticationType()
Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the AWS
Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
, Amazon Kendra is
authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and
password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the
AWS Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
,
Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret,
and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
ServiceNowAuthenticationType
public ServiceNowConfiguration withAuthenticationType(String authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the AWS
Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
, Amazon Kendra is
authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and
password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
authenticationType
- Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the
AWS Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
,
Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret,
and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
ServiceNowAuthenticationType
public ServiceNowConfiguration withAuthenticationType(ServiceNowAuthenticationType authenticationType)
Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the AWS
Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
, Amazon Kendra is
authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and
password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
authenticationType
- Determines the type of authentication used to connect to the ServiceNow instance. If you choose
HTTP_BASIC
, Amazon Kendra is authenticated using the user name and password provided in the
AWS Secrets Manager secret in the SecretArn
field. When you choose OAUTH2
,
Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret,
and the user name and password are used to determine which information Amazon Kendra has access to.
When you use OAUTH2
authentication, you must generate a token and a client secret using the
ServiceNow console. For more information, see Using a ServiceNow data
source.
ServiceNowAuthenticationType
public String toString()
toString
in class Object
Object.toString()
public ServiceNowConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.