public static final class NotificationAuthenticationScheme.Builder
extends java.lang.Object
NotificationAuthenticationScheme.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
NotificationAuthenticationScheme. |
| Modifier and Type | Method and Description |
|---|---|
NotificationAuthenticationScheme |
build() |
NotificationAuthenticationScheme.Builder |
setCertificateId(java.lang.String certificateId)
Certificate ID with a valid certificate and private key, procured from
trust-management API.
|
NotificationAuthenticationScheme.Builder |
setPassword(java.lang.String password)
Password to use if scheme_name is BASIC_AUTH.
|
NotificationAuthenticationScheme.Builder |
setSchemeName(java.lang.String schemeName)
Possible values are:
NotificationAuthenticationScheme.SCHEME_NAME_BASIC_AUTH
NotificationAuthenticationScheme.SCHEME_NAME_CERTIFICATE
Authentication scheme to use when making notification requests to the
partner/customer specified watcher. |
NotificationAuthenticationScheme.Builder |
setUsername(java.lang.String username)
Username to use if scheme_name is BASIC_AUTH.
|
public Builder()
NotificationAuthenticationScheme.public NotificationAuthenticationScheme.Builder setCertificateId(java.lang.String certificateId)
certificateId - New value for the property.public NotificationAuthenticationScheme.Builder setPassword(java.lang.String password)
password - New value for the property.public NotificationAuthenticationScheme.Builder setSchemeName(java.lang.String schemeName)
schemeName - New value for the property.public NotificationAuthenticationScheme.Builder setUsername(java.lang.String username)
username - New value for the property.public NotificationAuthenticationScheme build()