public static class ConfirmationOptions.Builder extends Object
ConfirmationOptions.| Constructor and Description |
|---|
Builder(String title,
String body,
String agreeButtonText)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ConfirmationOptions.Builder |
agreeButtonText(String agreeButtonText)
Setter for agreeButtonText.
|
ConfirmationOptions.Builder |
body(String body)
Setter for body.
|
ConfirmationOptions |
build()
Builds a new
ConfirmationOptions object using the set fields. |
ConfirmationOptions.Builder |
decision(ConfirmationDecision decision)
Setter for decision.
|
ConfirmationOptions.Builder |
disagreeButtonText(String disagreeButtonText)
Setter for disagreeButtonText.
|
ConfirmationOptions.Builder |
title(String title)
Setter for title.
|
ConfirmationOptions.Builder |
unsetDisagreeButtonText()
UnSetter for disagreeButtonText.
|
public ConfirmationOptions.Builder title(String title)
title - String value for title.public ConfirmationOptions.Builder body(String body)
body - String value for body.public ConfirmationOptions.Builder agreeButtonText(String agreeButtonText)
agreeButtonText - String value for agreeButtonText.public ConfirmationOptions.Builder disagreeButtonText(String disagreeButtonText)
disagreeButtonText - String value for disagreeButtonText.public ConfirmationOptions.Builder unsetDisagreeButtonText()
public ConfirmationOptions.Builder decision(ConfirmationDecision decision)
decision - ConfirmationDecision value for decision.public ConfirmationOptions build()
ConfirmationOptions object using the set fields.ConfirmationOptionsCopyright © 2024. All rights reserved.