Class Location.Builder

java.lang.Object
com.ibm.watson.compare_comply.v1.model.Location.Builder
Enclosing class:
Location

public static class Location.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(Long begin, Long end)
      Instantiates a new builder with required properties.
      Parameters:
      begin - the begin
      end - the end
  • Method Details

    • build

      public Location build()
      Builds a Location.
      Returns:
      the new Location instance
    • begin

      public Location.Builder begin​(long begin)
      Set the begin.
      Parameters:
      begin - the begin
      Returns:
      the Location builder
    • end

      public Location.Builder end​(long end)
      Set the end.
      Parameters:
      end - the end
      Returns:
      the Location builder