Class DestinationOptions

java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationOptions

public final class DestinationOptions extends Object
Contains parameters to configure the behaviour of destination loaders. Instances are intended to be immutable, and are created using the builder pattern.
  • Method Details

    • get

      @Nonnull public io.vavr.control.Option<Object> get(@Nonnull String key)
      Retrieves the value of a configuration parameter.
      Parameters:
      key - Name of the configuration parameter to retrieve.
      Returns:
      An Option that contains the value if present, otherwise Option.None
    • builder

      @Nonnull public static DestinationOptions.Builder builder()
      Creates a builder for instantiating DestinationOptions objects.
      Returns:
      A new builder.
    • builder

      @Nonnull public static DestinationOptions.Builder builder(@Nonnull DestinationOptions baseOptions)
      Creates a builder, copying the given options as a starting point.
      Parameters:
      baseOptions - The DestinationOptions to copy the values from.
      Returns:
      A new builder with the initialized values from the given DestinationOptions.
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object