Package es.situm.sdk.model.cartography
Class Building.Builder
- java.lang.Object
-
- es.situm.sdk.model.cartography.Building.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Building.Builder
address(java.lang.String address)
Building
build()
Building.Builder
center(Coordinate center)
Building.Builder
dimensions(Dimensions dimensions)
Building.Builder
infoHtml(java.lang.String infoHtml)
Building.Builder
name(java.lang.String name)
Building.Builder
pictureThumbUrl(URL pictureThumbUrl)
Building.Builder
pictureUrl(URL pictureUrl)
Building.Builder
rotation(Angle rotation)
Building.Builder
userIdentifier(java.lang.String userIdentifier)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(Building building)
-
-
Method Detail
-
userIdentifier
@NonNull public Building.Builder userIdentifier(@NonNull java.lang.String userIdentifier)
- Parameters:
userIdentifier
- identifier of the user that owns the building- Returns:
- current
Building.Builder
instance
-
name
@NonNull public Building.Builder name(@NonNull java.lang.String name)
- Parameters:
name
- name for the building that is appropriate for display to the user- Returns:
- current
Building.Builder
instance
-
address
@NonNull public Building.Builder address(@NonNull java.lang.String address)
- Parameters:
address
- building address.- Returns:
- current
Building.Builder
instance
-
infoHtml
@NonNull public Building.Builder infoHtml(@NonNull java.lang.String infoHtml)
- Parameters:
infoHtml
- additional information about the building, formatted with HTML.- Returns:
- current
Building.Builder
instance
-
center
@NonNull public Building.Builder center(@NonNull Coordinate center)
- Parameters:
center
- center of the building's base, as geographical coordinate- Returns:
- current
Building.Builder
instance
-
rotation
@NonNull public Building.Builder rotation(@NonNull Angle rotation)
- Parameters:
rotation
- rotation angle of the building's base, relative to the west-east axis.- Returns:
- current
Building.Builder
instance
-
dimensions
@NonNull public Building.Builder dimensions(@NonNull Dimensions dimensions)
- Parameters:
dimensions
- dimensions of building's base (height and width) in meters- Returns:
- current
Building.Builder
instance
-
pictureUrl
@NonNull public Building.Builder pictureUrl(@NonNull URL pictureUrl)
- Parameters:
pictureUrl
-- Returns:
- current
Building.Builder
instance
-
pictureThumbUrl
@NonNull public Building.Builder pictureThumbUrl(@NonNull URL pictureThumbUrl)
- Parameters:
pictureThumbUrl
-- Returns:
- current
Building.Builder
instance
-
-