public static final class DefaultContentInfo.Builder extends Object
Builder for a DefaultContentInfo instance.
| Constructor and Description | 
|---|
Builder()  | 
| Modifier and Type | Method and Description | 
|---|---|
DefaultContentInfo | 
build()
Builds and returns the  
DefaultContentInfo object. | 
DefaultContentInfo.Builder | 
contentMetadata(ContentMetadata contentMetadata)
Set the content metadata of the content info. 
 | 
DefaultContentInfo.Builder | 
contentProviderId(String contentProviderId)
Set the ContentProviderId of the content info. 
 | 
DefaultContentInfo.Builder | 
contentSourceId(String contentSourceId)
Set the content source id of the content info. 
 | 
DefaultContentInfo.Builder | 
properties(Map<String,String> properties)
Set the properties of the content info. 
 | 
public DefaultContentInfo.Builder contentProviderId(String contentProviderId)
Set the ContentProviderId of the content info.
contentProviderId - the content provider id of the content infopublic DefaultContentInfo.Builder contentSourceId(String contentSourceId)
Set the content source id of the content info.
contentSourceId - the content source id of the content info (may be null)public DefaultContentInfo.Builder contentMetadata(ContentMetadata contentMetadata)
Set the content metadata of the content info.
contentMetadata - the content metadata of the content info (may be null)public DefaultContentInfo.Builder properties(Map<String,String> properties)
Set the properties of the content info.
properties - the properties of the content infopublic DefaultContentInfo build()
Builds and returns the DefaultContentInfo object.
IllegalArgumentException - if the ContentProviderId is not setCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.