Package velox.api.layer1.messages
Class Layer1ApiSoundAlertDeclarationMessage.Builder
java.lang.Object
velox.api.layer1.messages.Layer1ApiSoundAlertDeclarationMessage.Builder
- Enclosing class:
- Layer1ApiSoundAlertDeclarationMessage
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a builder with fields prepopulated from the specified
Layer1ApiSoundAlertDeclarationMessage. -
Method Summary
Modifier and TypeMethodDescriptionbuild()setAliasMatcher(Predicate<String> aliasMatcher) setIsAdd(boolean isAdd) setPopupAllowed(boolean popupAllowed) setRepeated(boolean repeated) setSoundAllowed(boolean soundAllowed) setTriggerDescription(String triggerDescription)
-
Constructor Details
-
Builder
Create a builder with fields prepopulated from the specified
Layer1ApiSoundAlertDeclarationMessage. Useful if you want to modify an existing declaration, or remove a declaration from Bookmap by creating a message with the sameLayer1ApiSoundAlertDeclarationMessage.idbutLayer1ApiSoundAlertDeclarationMessage.isAdd= false
-
-
Method Details
-
setTriggerDescription
public Layer1ApiSoundAlertDeclarationMessage.Builder setTriggerDescription(String triggerDescription) -
setSource
-
setAliasMatcher
public Layer1ApiSoundAlertDeclarationMessage.Builder setAliasMatcher(Predicate<String> aliasMatcher) -
setPopupAllowed
-
setSoundAllowed
-
setRepeated
-
setIsAdd
-
build
-