Class ContactsList.Builder
java.lang.Object
com.vonage.client.proactiveconnect.ContactsList.Builder
- Enclosing class:
ContactsList
-
Method Summary
Modifier and TypeMethodDescriptionattributes(ListAttribute... attributes) Sets the list attributes.attributes(List<ListAttribute> attributes) Sets the list attributes.build()Builds the ContactsList.datasource(Datasource datasource) Sets the datasource.description(String description) Sets the resource description.Sets the tags.Sets the list's tags.
-
Method Details
-
description
Sets the resource description.- Parameters:
description- The description of the resource (max 1024 characters).- Returns:
- This builder.
-
tags
Sets the list's tags.- Parameters:
tags- Up to 10 custom strings assigned with a resource - each must be between 1 and 15 characters.- Returns:
- This builder.
- See Also:
-
tags
Sets the tags.- Parameters:
tags- Up to 10 custom strings assigned with a resource - each must be between 1 and 15 characters.- Returns:
- This builder.
- See Also:
-
attributes
Sets the list attributes.- Parameters:
attributes- The list attributes as an array (or varargs) ofListAttributes.- Returns:
- This builder.
-
attributes
Sets the list attributes.- Parameters:
attributes- The list of attributes.- Returns:
- This builder.
-
datasource
Sets the datasource.- Parameters:
datasource- The datasource type.- Returns:
- This builder.
-
build
Builds the ContactsList.- Returns:
- An instance of ContactsList, populated with all fields from this builder.
-