public static class Account.AccountBuilder
extends java.lang.Object
| Constructor and Description |
|---|
AccountBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected Account |
build()
Produces the Account object that was being constructed.
|
Account.AccountBuilder |
setAccountName(java.lang.String accountName)
Sets the name of the account.
|
Account.AccountBuilder |
setBackgroundColor(java.lang.String color)
Sets the background color for the IDP that issued this account.
|
Account.AccountBuilder |
setDisplayAccountName(java.lang.String accountName)
Sets the alternative name of the account.
|
Account.AccountBuilder |
setDisplayIssuer(java.lang.String issuer)
Sets the alternative name of the IDP that issued this account.
|
Account.AccountBuilder |
setImageURL(java.lang.String imageURL)
Sets the imageURL for the IDP that issued this account.
|
Account.AccountBuilder |
setIssuer(java.lang.String issuer)
Sets the name of the IDP that issued this account.
|
Account.AccountBuilder |
setTimeAdded(java.util.Calendar timeCreated)
Sets the Date and Time this Account was stored.
|
public Account.AccountBuilder setIssuer(java.lang.String issuer)
issuer - The IDP name.public Account.AccountBuilder setDisplayIssuer(java.lang.String issuer)
issuer - The IDP name.public Account.AccountBuilder setAccountName(java.lang.String accountName)
accountName - The account name.public Account.AccountBuilder setDisplayAccountName(java.lang.String accountName)
accountName - The account name.public Account.AccountBuilder setImageURL(java.lang.String imageURL)
imageURL - A string that represents the image URI.public Account.AccountBuilder setBackgroundColor(java.lang.String color)
color - A hex string including a prepending # symbol, representing the color (e.g. #aabbcc).public Account.AccountBuilder setTimeAdded(java.util.Calendar timeCreated)
timeCreated - when this account was stored.protected Account build()