Package | Description |
---|---|
io.sphere.sdk.channels |
Provides model classes and builders for channels.
|
Modifier and Type | Method and Description |
---|---|
ChannelDraftBuilder |
ChannelDraftBuilder.address(Address address)
Sets the
address property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.custom(CustomFieldsDraft custom)
Sets the
custom property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.description(LocalizedString description)
Sets the
description property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.geoLocation(GeoJSON geoLocation)
Sets the
geoLocation property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.key(String key)
Sets the
key property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.name(LocalizedString name)
Sets the
name property of this builder. |
static ChannelDraftBuilder |
ChannelDraftBuilder.of(ChannelDraft template)
Creates a new object initialized with the fields of the template parameter.
|
static ChannelDraftBuilder |
ChannelDraftBuilder.of(String key)
Creates a new object initialized with the given values.
|
ChannelDraftBuilder |
ChannelDraftBuilder.plusRoles(ChannelRole roles)
Adds
roles parameter to the roles set property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.plusRoles(Set<ChannelRole> roles)
Concatenate
roles parameter to the roles set property of this builder. |
ChannelDraftBuilder |
ChannelDraftBuilder.roles(Set<ChannelRole> roles)
Sets the
roles property of this builder. |