public static final class ScpNeoHttpDestination.Builder extends Object
ScpNeoHttpDestination
instance.Modifier and Type | Method and Description |
---|---|
ScpNeoHttpDestination |
build()
Finally creates the
ScpCfHttpDestination based on the builder methods called and properties
previously set. |
protected DefaultDestination |
buildDefaultDestination()
Finally creates a
DefaultDestination with the properties retrieved via #the
property(String, Object) method. |
ScpNeoHttpDestination.Builder |
cloudConnectorLocationId(String locationId)
Sets the connectivity location id of the destination.
|
protected ScpNeoHttpDestination.Builder |
getThis() |
ScpNeoHttpDestination.Builder |
keyStore(KeyStore keyStore)
Sets the key store of the destination.
|
ScpNeoHttpDestination.Builder |
keyStorePassword(String password)
Sets the key store password of the destination.
|
BuilderT |
name(String name)
Sets a name for the destination.
|
BuilderT |
property(String key,
Object value)
Adds the given key-value pair to the destination to be created.
|
String |
toString() |
ScpNeoHttpDestination.Builder |
trustStore(KeyStore trustStore)
Sets the trust store of the destination.
|
ScpNeoHttpDestination.Builder |
trustStorePassword(String password)
Sets the trust store password of the destination.
|
BuilderT |
type(DestinationType type)
Sets the type for the destination.
|
@Nonnull public ScpNeoHttpDestination.Builder keyStore(@Nonnull KeyStore keyStore)
keyStore
- A key store for this destination.@Nonnull public ScpNeoHttpDestination.Builder keyStorePassword(@Nonnull String password)
password
- A key store password for this destination.@Nonnull public ScpNeoHttpDestination.Builder trustStore(@Nonnull KeyStore trustStore)
trustStore
- A trust store for this destination.@Nonnull public ScpNeoHttpDestination.Builder trustStorePassword(@Nonnull String password)
password
- A trust store password for this destination.@Nonnull public ScpNeoHttpDestination.Builder cloudConnectorLocationId(@Nonnull String locationId)
locationId
- The location identifier for connecting to SAP Cloud Connector.@Nonnull protected ScpNeoHttpDestination.Builder getThis()
@Nonnull public ScpNeoHttpDestination build()
ScpCfHttpDestination
based on the builder methods called and properties
previously set.ScpCfHttpDestination
.@Nonnull public BuilderT name(@Nonnull String name)
name
- A name for the destination.@Nonnull public BuilderT type(@Nonnull DestinationType type)
type
- A recognized type for the destination.@Nonnull public BuilderT property(@Nonnull String key, @Nonnull Object value)
key
- The key to assign a property for.value
- The property value to be assigned.@Nonnull protected final DefaultDestination buildDefaultDestination()
DefaultDestination
with the properties retrieved via #the
property(String, Object)
method.DefaultDestination
.Copyright © 2019 SAP SE. All rights reserved.