public static class SiteCreateRequest.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(ISite api) |
Builder(java.lang.String token,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
SiteCreateRequest |
build() |
SiteCreateRequest.Builder |
mapquestMap(double latitude,
double longitude,
int zoomLevel) |
SiteCreateRequest.Builder |
metadata(java.lang.String name,
java.lang.String value) |
SiteCreateRequest.Builder |
openStreetMap(double latitude,
double longitude,
int zoomLevel) |
SiteCreateRequest.Builder |
withDescription(java.lang.String description) |
SiteCreateRequest.Builder |
withImageUrl(java.lang.String imageUrl) |
public Builder(ISite api)
public Builder(java.lang.String token, java.lang.String name)
public SiteCreateRequest.Builder withDescription(java.lang.String description)
public SiteCreateRequest.Builder withImageUrl(java.lang.String imageUrl)
public SiteCreateRequest.Builder openStreetMap(double latitude, double longitude, int zoomLevel)
public SiteCreateRequest.Builder mapquestMap(double latitude, double longitude, int zoomLevel)
public SiteCreateRequest.Builder metadata(java.lang.String name, java.lang.String value)
public SiteCreateRequest build()