Class ChannelSetGeoLocationActionBuilder
java.lang.Object
com.commercetools.api.models.channel.ChannelSetGeoLocationActionBuilder
- All Implemented Interfaces:
Builder<ChannelSetGeoLocationAction>
public class ChannelSetGeoLocationActionBuilder
extends Object
implements Builder<ChannelSetGeoLocationAction>
ChannelSetGeoLocationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ChannelSetGeoLocationAction channelSetGeoLocationAction = ChannelSetGeoLocationAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds ChannelSetGeoLocationAction with checking for non-null required valuesbuilds ChannelSetGeoLocationAction without checking for non-null required valuesgeoLocation(GeoJson geoLocation) Value to set.geoLocation(Function<GeoJsonBuilder, Builder<? extends GeoJson>> builder) Value to set.Value to set.of()factory method for an instance of ChannelSetGeoLocationActionBuilderof(ChannelSetGeoLocationAction template) create builder for ChannelSetGeoLocationAction instance
-
Constructor Details
-
ChannelSetGeoLocationActionBuilder
public ChannelSetGeoLocationActionBuilder()
-
-
Method Details
-
geoLocation
Value to set.
- Parameters:
geoLocation- value to be set- Returns:
- Builder
-
geoLocation
public ChannelSetGeoLocationActionBuilder geoLocation(Function<GeoJsonBuilder, Builder<? extends GeoJson>> builder) Value to set.
- Parameters:
builder- function to build the geoLocation value- Returns:
- Builder
-
getGeoLocation
Value to set.
- Returns:
- geoLocation
-
build
builds ChannelSetGeoLocationAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<ChannelSetGeoLocationAction>- Returns:
- ChannelSetGeoLocationAction
-
buildUnchecked
builds ChannelSetGeoLocationAction without checking for non-null required values- Returns:
- ChannelSetGeoLocationAction
-
of
factory method for an instance of ChannelSetGeoLocationActionBuilder- Returns:
- builder
-
of
create builder for ChannelSetGeoLocationAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-