public static interface ServiceNowConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<ServiceNowConnectorProfileCredentials.Builder,ServiceNowConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
default ServiceNowConnectorProfileCredentials.Builder |
oAuth2Credentials(Consumer<OAuth2Credentials.Builder> oAuth2Credentials)
The OAuth 2.0 credentials required to authenticate the user.
|
ServiceNowConnectorProfileCredentials.Builder |
oAuth2Credentials(OAuth2Credentials oAuth2Credentials)
The OAuth 2.0 credentials required to authenticate the user.
|
ServiceNowConnectorProfileCredentials.Builder |
password(String password)
The password that corresponds to the user name.
|
ServiceNowConnectorProfileCredentials.Builder |
username(String username)
The name of the user.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceNowConnectorProfileCredentials.Builder username(String username)
The name of the user.
username - The name of the user.ServiceNowConnectorProfileCredentials.Builder password(String password)
The password that corresponds to the user name.
password - The password that corresponds to the user name.ServiceNowConnectorProfileCredentials.Builder oAuth2Credentials(OAuth2Credentials oAuth2Credentials)
The OAuth 2.0 credentials required to authenticate the user.
oAuth2Credentials - The OAuth 2.0 credentials required to authenticate the user.default ServiceNowConnectorProfileCredentials.Builder oAuth2Credentials(Consumer<OAuth2Credentials.Builder> oAuth2Credentials)
The OAuth 2.0 credentials required to authenticate the user.
This is a convenience method that creates an instance of theOAuth2Credentials.Builder avoiding the
need to create one manually via OAuth2Credentials.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to oAuth2Credentials(OAuth2Credentials).
oAuth2Credentials - a consumer that will call methods on OAuth2Credentials.BuilderoAuth2Credentials(OAuth2Credentials)Copyright © 2023. All rights reserved.