Interface IContentIdBuilder
interface IContentIdBuilder
Extends com.amazon.apmf.IStandard
Builder interface to create a ContentId object.
Methods
id()
Sets the ID resolvable under the associated namespace. This is a required field.IContentIdBuilder*id(stringid)
build() will fail if this field is not set.
Parameters
id
string — Required
ID resolvable under the associated namespace.
Returns
IContentIdBuilder*
a non-null pointer to the current IContentIdBuilder instance.
idNamespace()
Sets the namespace the ID should be resolved under. See NAMESPACE_ values onIContentIdBuilder*idNamespace(stringidNamespace)
IContentIdBuilder for accepted values.
This is a required field. build() will fail if this field is not set.
Parameters
idNamespace
string — Required
The namespace to resolved the ID under.
Returns
IContentIdBuilder*
a non-null pointer to the current IContentIdBuilder instance.
build()
Builds aIContentId*build()
ContentId object with the fields set on the builder.
Returns
IContentId*
a non-null pointer to the IContentId object created.
Throws
ObjectCreationError— if required fields are not set.
Constants
NAMESPACE_CDF_ID
Indicates the content ID is in the namespace of the IDs specified in your Amazon catalog integration.string="cdf_id"
NAMESPACE_GVD
Indicates the content ID is in the Gracenote GVD namespace.string="gvd"
NAMESPACE_ONTV
Indicates the content ID is in the Gracenote ONTV namespace.string="ontv"

