-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder
,com.facebook.share.model.ShareModelBuilder
public final class AppGroupCreationContent.Builder implements ShareModelBuilder<AppGroupCreationContent, AppGroupCreationContent.Builder>
Builder class for a concrete instance of AppGroupCreationContent
-
-
Constructor Summary
Constructors Constructor Description AppGroupCreationContent.Builder()
-
Method Summary
Modifier and Type Method Description final AppGroupCreationContent.Builder
setName(String name)
Sets the name of the group that will be created. final AppGroupCreationContent.Builder
setDescription(String description)
Sets the description of the group that will be created. final AppGroupCreationContent.Builder
setAppGroupPrivacy(AppGroupCreationContent.AppGroupPrivacy appGroupPrivacy)
Sets the privacy for the group that will be created AppGroupCreationContent
build()
Builds the object. AppGroupCreationContent.Builder
readFrom(AppGroupCreationContent content)
Reads the values from a ShareModel into the builder. -
-
Method Detail
-
setName
final AppGroupCreationContent.Builder setName(String name)
Sets the name of the group that will be created.
- Parameters:
name
- name of the group
-
setDescription
final AppGroupCreationContent.Builder setDescription(String description)
Sets the description of the group that will be created.
- Parameters:
description
- the description
-
setAppGroupPrivacy
final AppGroupCreationContent.Builder setAppGroupPrivacy(AppGroupCreationContent.AppGroupPrivacy appGroupPrivacy)
Sets the privacy for the group that will be created
- Parameters:
appGroupPrivacy
- privacy of the group
-
build
AppGroupCreationContent build()
Builds the object.
-
readFrom
AppGroupCreationContent.Builder readFrom(AppGroupCreationContent content)
Reads the values from a ShareModel into the builder.
- Parameters:
content
- The source ShareModel
-
-
-
-