SocialPostEntity.Builder


public final class SocialPostEntity.Builder


Builder class for SocialPostEntity.

Summary

Public constructors

Public methods

SocialPostEntity.Builder

Adds the display time window for the social entity.

SocialPostEntity.Builder

Adds a list interaction to the social post entity.

SocialPostEntity.Builder

Adds the display time window for the social entity.

SocialPostEntity.Builder

Add an interaction for the social post entity.

SocialPostEntity
SocialPostEntity.Builder

Sets the action link uri for the social entity.

SocialPostEntity.Builder

Sets content id of the entity.

SocialPostEntity.Builder

Sets the post content for the social post entity.

SocialPostEntity.Builder

Sets the profile for the social media post.

Public constructors

Builder

public Builder()

Public methods

addAllDisplayTimeWindow

@CanIgnoreReturnValue
public SocialPostEntity.Builder addAllDisplayTimeWindow(List<DisplayTimeWindow> displayTimeWindows)

Adds the display time window for the social entity.

Optional.

addAllInteraction

@CanIgnoreReturnValue
public SocialPostEntity.Builder addAllInteraction(List<Interaction> interactions)

Adds a list interaction to the social post entity.

Optional.

addDisplayTimeWindow

@CanIgnoreReturnValue
public SocialPostEntity.Builder addDisplayTimeWindow(DisplayTimeWindow displayTimeWindow)

Adds the display time window for the social entity.

Optional.

addInteraction

@CanIgnoreReturnValue
public SocialPostEntity.Builder addInteraction(Interaction interaction)

Add an interaction for the social post entity.

Optional.

build

public SocialPostEntity build()

setActionLinkUri

@CanIgnoreReturnValue
public SocialPostEntity.Builder setActionLinkUri(Uri actionLinkUri)

Sets the action link uri for the social entity.

Required.

setEntityId

@CanIgnoreReturnValue
public SocialPostEntity.Builder setEntityId(String entityId)

Sets content id of the entity.

Optional.

setGenericPost

@CanIgnoreReturnValue
public SocialPostEntity.Builder setGenericPost(GenericPost genericPost)

Sets the post content for the social post entity.

Required.

setProfile

@CanIgnoreReturnValue
public SocialPostEntity.Builder setProfile(Profile profile)

Sets the profile for the social media post.

Optional.