@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 |
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 |
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 |
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 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.