Builder class for a concrete instance of AppGroupCreationContent
Estende: | Object |
Implementa: | ShareModelBuilder |
Pacote: | model |
AppGroupCreationContent.Builder()
public AppGroupCreationContent.Builder()
setName(String)
Sets the name of the group that will be created.
public Builder setName(String name)
Parâmetro | Descrição |
---|---|
name | Name of the group |
setDescription(String)
Sets the description of the group that will be created.
public Builder setDescription(String description)
Parâmetro | Descrição |
---|---|
description | The description |
setAppGroupPrivacy(AppGroupPrivacy)
Sets the privacy for the group that will be created
public Builder setAppGroupPrivacy(AppGroupPrivacy privacy)
Parâmetro | Descrição |
---|---|
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)
Parâmetro | Descrição |
---|---|
model | The source ShareModel |
readFrom(AppGroupCreationContent)
public Builder readFrom(AppGroupCreationContent content)
Parâmetro | Descrição |
---|---|
content |