public static class DestinationOptions.Builder extends Object
DestinationOptions
instances.Modifier and Type | Method and Description |
---|---|
DestinationOptions.Builder |
augmentBuilder(DestinationOptionsAugmenter augmenter)
Use another class that implements
DestinationOptionsAugmenter to set configuration parameters that
are specific to a platform/environment/etc. |
DestinationOptions |
build()
Creates an immutable instance of {@link DestinationOptions) with whatever parameters have been set through
the builder and any augmenters attached to it.
|
DestinationOptions.Builder |
parameter(String key,
Object value)
Sets a configuration parameter.
|
public DestinationOptions.Builder parameter(@Nonnull String key, @Nullable Object value)
key
- Name of the configuration parameter to set.value
- Value to assign to the configuration parameter.public DestinationOptions.Builder augmentBuilder(DestinationOptionsAugmenter augmenter)
DestinationOptionsAugmenter
to set configuration parameters that
are specific to a platform/environment/etc.
Once called, any parameter setting methods of the augmenter class will affect this builder and the resulting
DestinationOptions
object.augmenter
- An instance of an augmenter class that provides specialized parameter settingpublic DestinationOptions build()
Copyright © 2019 SAP SE. All rights reserved.