public static class LikeContent.Builder extends java.lang.Object implements ShareModelBuilder<LikeContent,LikeContent.Builder>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
LikeContent |
build()
Builds the object.
|
LikeContent.Builder |
readFrom(LikeContent content)
Reads the values from a ShareModel into the builder.
|
LikeContent.Builder |
setObjectId(java.lang.String objectId)
Sets the object Id for the LikeView
|
LikeContent.Builder |
setObjectType(java.lang.String objectType)
Sets the type of the object for the LikeView
|
public LikeContent.Builder setObjectId(java.lang.String objectId)
objectId - the object Idpublic LikeContent.Builder setObjectType(java.lang.String objectType)
objectType - the type of the objectpublic LikeContent build()
ShareBuilderbuild in interface ShareBuilder<LikeContent,LikeContent.Builder>public LikeContent.Builder readFrom(LikeContent content)
ShareModelBuilderreadFrom in interface ShareModelBuilder<LikeContent,LikeContent.Builder>content - The source ShareModel