public static final 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.
|
DestinationOptions.Builder |
parameterIfAbsent(String key,
Object value)
Sets a configuration parameter.
|
@Nonnull 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.@Nonnull public DestinationOptions.Builder parameterIfAbsent(@Nonnull String key, @Nullable Object value)
key
- Name of the configuration parameter to set.value
- Value to assign to the configuration parameter.@Nonnull public DestinationOptions.Builder augmentBuilder(@Nonnull 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 setting@Nonnull public DestinationOptions build()
Copyright © 2021 SAP SE. All rights reserved.