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 Summary
-
Method Summary
Modifier and Type Method Description Location.Builder
begin(long begin)
Set the begin.Location
build()
Builds a Location.Location.Builder
end(long end)
Set the end.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
begin
- the beginend
- the end
-
-
Method Details
-
build
Builds a Location.- Returns:
- the new Location instance
-
begin
Set the begin.- Parameters:
begin
- the begin- Returns:
- the Location builder
-
end
Set the end.- Parameters:
end
- the end- Returns:
- the Location builder
-