public static final class ScpCfHttpDestination.Builder extends Object
ScpCfHttpDestination
instance.Modifier and Type | Method and Description |
---|---|
ScpCfHttpDestination.Builder |
authenticationType(AuthenticationType value)
Sets the authentication type of the destination.
|
ScpCfHttpDestination.Builder |
basicCredentials(BasicCredentials value)
Sets the credentials for accessing the destination when basic authentication is used.
|
ScpCfHttpDestination |
build()
Finally creates the
ScpCfHttpDestination based on the builder methods called and properties
previously set. |
protected DefaultDestination |
buildDefaultDestination() |
ScpCfHttpDestination.Builder |
keyStore(KeyStore value)
Sets the
KeyStore used by the destination to the given value. |
ScpCfHttpDestination.Builder |
keyStorePassword(String value)
Sets the password of the key store.
|
BuilderT |
name(String arg0) |
BuilderT |
property(String arg0,
Object arg1) |
ScpCfHttpDestination.Builder |
proxyConfiguration(ProxyConfiguration value)
Sets the proxy used by the destination to the given value.
|
ScpCfHttpDestination.Builder |
proxyType(ProxyType value)
Sets the proxy type (Internet or On-Premise).
|
ScpCfHttpDestination.Builder |
tlsVersion(String value)
Sets the TLS version used by the destination to the given value.
|
String |
toString() |
ScpCfHttpDestination.Builder |
trustAllCertificates()
Lets the destination trust all server certificates.
|
ScpCfHttpDestination.Builder |
trustStore(KeyStore value)
Sets the trust store used by the destination to the given value.
|
ScpCfHttpDestination.Builder |
trustStorePassword(String value)
Sets the password of the trust store.
|
BuilderT |
type(DestinationType arg0) |
ScpCfHttpDestination.Builder |
uri(URI uri)
Sets the uri of the destination.
|
@Nonnull public ScpCfHttpDestination.Builder uri(@Nonnull URI uri)
uri
- A URI for this destination.@Nonnull public ScpCfHttpDestination.Builder authenticationType(@Nonnull AuthenticationType value)
value
- Enum value from AuthenticationType
representing the authentication type.@Nonnull public ScpCfHttpDestination.Builder basicCredentials(@Nonnull BasicCredentials value)
value
- Username and password represented as a BasicCredentials
object.@Nonnull public ScpCfHttpDestination.Builder tlsVersion(@Nonnull String value)
value
- The TLS version that should be used.@Nonnull public ScpCfHttpDestination.Builder proxyType(@Nonnull ProxyType value)
value
- Type of proxy this destination is configured for.@Nonnull public ScpCfHttpDestination.Builder proxyConfiguration(@Nonnull ProxyConfiguration value)
value
- The proxy that should be used.@Nonnull public ScpCfHttpDestination.Builder keyStore(@Nonnull KeyStore value)
KeyStore
used by the destination to the given value.value
- The TLS version that should be used.@Nonnull public ScpCfHttpDestination.Builder keyStorePassword(@Nonnull String value)
value
- The key store password that should be used.@Nonnull public ScpCfHttpDestination.Builder trustAllCertificates()
@Nonnull public ScpCfHttpDestination.Builder trustStore(@Nonnull KeyStore value)
value
- The trust store that should be used.@Nonnull public ScpCfHttpDestination.Builder trustStorePassword(@Nonnull String value)
value
- The trust store password that should be used.@Nonnull public ScpCfHttpDestination build()
ScpCfHttpDestination
based on the builder methods called and properties
previously set.ScpCfHttpDestination
.@Nonnull public BuilderT type(@Nonnull DestinationType arg0)
@Nonnull protected final DefaultDestination buildDefaultDestination()
Copyright © 2019 SAP SE. All rights reserved.