Builder class for a concrete instance of AppGroupCreationContent
Extends: | Object |
Implements: | ShareModelBuilder |
Package: | model |
AppGroupCreationContent.Builder()
public AppGroupCreationContent.Builder()
setName(String)
Sets the name of the group that will be created.
public Builder setName(String name)
Parameter | Description |
---|---|
name | Name of the group |
setDescription(String)
Sets the description of the group that will be created.
public Builder setDescription(String description)
Parameter | Description |
---|---|
description | The description |
setAppGroupPrivacy(AppGroupPrivacy)
Sets the privacy for the group that will be created
public Builder setAppGroupPrivacy(AppGroupPrivacy privacy)
Parameter | Description |
---|---|
privacy | Privacy of the group |
build()
Builds the object.
public Object build()
build()
public AppGroupCreationContent build()
readFrom(ShareModel)
Reads the values from a ShareModel into the builder.
public ShareModelBuilder readFrom(ShareModel model)
Parameter | Description |
---|---|
model | The source ShareModel |
readFrom(AppGroupCreationContent)
public Builder readFrom(AppGroupCreationContent content)
Parameter | Description |
---|---|
content |