@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceNowConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information to connect to ServiceNow as your data source.
Constructor and Description |
---|
ServiceNowConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServiceNowConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The type of authentication used to connect to the ServiceNow instance.
|
String |
getHostUrl()
The ServiceNow instance that the data source connects to.
|
ServiceNowKnowledgeArticleConfiguration |
getKnowledgeArticleConfiguration()
Configuration information for crawling knowledge articles in the ServiceNow site.
|
String |
getSecretArn()
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to
connect to the ServiceNow instance.
|
ServiceNowServiceCatalogConfiguration |
getServiceCatalogConfiguration()
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)
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)
Configuration information for crawling knowledge articles in the ServiceNow site.
|
void |
setSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to
connect to the ServiceNow instance.
|
void |
setServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
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)
The type of authentication used to connect to the ServiceNow instance.
|
ServiceNowConfiguration |
withAuthenticationType(String authenticationType)
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)
Configuration information for crawling knowledge articles in the ServiceNow site.
|
ServiceNowConfiguration |
withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to
connect to the ServiceNow instance.
|
ServiceNowConfiguration |
withServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
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.
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 Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a ServiceNow data source.
secretArn
- The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password
required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of
user name, password, client ID, and client secret. For more information, see Using a ServiceNow data
source.public String getSecretArn()
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a ServiceNow data source.
public ServiceNowConfiguration withSecretArn(String secretArn)
The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of user name, password, client ID, and client secret. For more information, see Using a ServiceNow data source.
secretArn
- The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password
required to connect to the ServiceNow instance. You can also provide OAuth authentication credentials of
user name, password, client ID, and client secret. For more information, see Using a ServiceNow data
source.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)
Configuration information for crawling knowledge articles in the ServiceNow site.
knowledgeArticleConfiguration
- Configuration information for crawling knowledge articles in the ServiceNow site.public ServiceNowKnowledgeArticleConfiguration getKnowledgeArticleConfiguration()
Configuration information for crawling knowledge articles in the ServiceNow site.
public ServiceNowConfiguration withKnowledgeArticleConfiguration(ServiceNowKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Configuration information for crawling knowledge articles in the ServiceNow site.
knowledgeArticleConfiguration
- Configuration information for crawling knowledge articles in the ServiceNow site.public void setServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Configuration information for crawling service catalogs in the ServiceNow site.
serviceCatalogConfiguration
- Configuration information for crawling service catalogs in the ServiceNow site.public ServiceNowServiceCatalogConfiguration getServiceCatalogConfiguration()
Configuration information for crawling service catalogs in the ServiceNow site.
public ServiceNowConfiguration withServiceCatalogConfiguration(ServiceNowServiceCatalogConfiguration serviceCatalogConfiguration)
Configuration information for crawling service catalogs in the ServiceNow site.
serviceCatalogConfiguration
- Configuration information for crawling service catalogs in the ServiceNow site.public void setAuthenticationType(String authenticationType)
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 Secrets Manager secret in the
SecretArn
field. If you choose OAUTH2
, Amazon Kendra is authenticated using the
credentials of client ID, client secret, user name and password.
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
- 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
Secrets Manager secret in the SecretArn
field. If you choose OAUTH2
, Amazon
Kendra is authenticated using the credentials of client ID, client secret, user name and password.
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()
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 Secrets Manager secret in the
SecretArn
field. If you choose OAUTH2
, Amazon Kendra is authenticated using the
credentials of client ID, client secret, user name and password.
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
Secrets Manager secret in the SecretArn
field. If you choose OAUTH2
, Amazon
Kendra is authenticated using the credentials of client ID, client secret, user name and password.
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)
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 Secrets Manager secret in the
SecretArn
field. If you choose OAUTH2
, Amazon Kendra is authenticated using the
credentials of client ID, client secret, user name and password.
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
- 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
Secrets Manager secret in the SecretArn
field. If you choose OAUTH2
, Amazon
Kendra is authenticated using the credentials of client ID, client secret, user name and password.
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)
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 Secrets Manager secret in the
SecretArn
field. If you choose OAUTH2
, Amazon Kendra is authenticated using the
credentials of client ID, client secret, user name and password.
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
- 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
Secrets Manager secret in the SecretArn
field. If you choose OAUTH2
, Amazon
Kendra is authenticated using the credentials of client ID, client secret, user name and password.
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.