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