-
- All Implemented Interfaces:
-
com.facebook.share.ShareBuilder,com.facebook.share.model.ShareModelBuilder
public class AppGroupCreationContent.Builder implements ShareModelBuilder<AppGroupCreationContent, AppGroupCreationContent.Builder>
Builder class for a concrete instance of AppGroupCreationContent
-
-
Field Summary
Fields Modifier and Type Field Description private Stringnameprivate Stringdescription
-
Method Summary
Modifier and Type Method Description AppGroupCreationContent.BuildersetName(String name)Sets the name of the group that will be created. AppGroupCreationContent.BuildersetDescription(String description)Sets the description of the group that will be created. AppGroupCreationContent.BuildersetAppGroupPrivacy(AppGroupCreationContent.AppGroupPrivacy privacy)Sets the privacy for the group that will be created AppGroupCreationContentbuild()Builds the object. AppGroupCreationContent.BuilderreadFrom(AppGroupCreationContent content)Reads the values from a ShareModel into the builder. -
-
Method Detail
-
setName
AppGroupCreationContent.Builder setName(String name)
Sets the name of the group that will be created.
- Parameters:
name- name of the group
-
setDescription
AppGroupCreationContent.Builder setDescription(String description)
Sets the description of the group that will be created.
- Parameters:
description- the description
-
setAppGroupPrivacy
AppGroupCreationContent.Builder setAppGroupPrivacy(AppGroupCreationContent.AppGroupPrivacy privacy)
Sets the privacy for the group that will be created
- Parameters:
privacy- 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.
-
-
-
-