Interface AnnotationPlacemark.Builder
- Enclosing interface:
- AnnotationPlacemark
public static interface AnnotationPlacemark.Builder
Creates an instance of
AnnotationPlacemark.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a newAnnotationPlacemarkwith the values in the builder set.withTypeName(String typeName) Required: Specifies the name of the type of this annotation placemark.Required: Specifies the value of a field with the given name.
-
Method Details
-
withTypeName
Required: Specifies the name of the type of this annotation placemark.- Parameters:
typeName- the name of the type of this annotation placemark. Cannot be null or empty- Returns:
- this
AnnotationPlacemark.Builder
-
withValue
Required: Specifies the value of a field with the given name. The value class must match the Java class that backs theAnnotationPlacemarkValueTypeof the field.- Parameters:
fieldName- the name of the field to set value onvalue- the new value to set for the field. To remove an existing value, set to null.- Returns:
- this
AnnotationPlacemark.Builder
-
build
AnnotationPlacemark build()Builds a newAnnotationPlacemarkwith the values in the builder set.- Returns:
- the completed
AnnotationPlacemark
-