Class Bullets.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.global_catalog.v1.model.Bullets.Builder
-
- Enclosing class:
- Bullets
public static class Bullets.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bulletsbuild()Builds a Bullets.Bullets.Builderdescription(java.lang.String description)Set the description.Bullets.Buildericon(java.lang.String icon)Set the icon.Bullets.Builderquantity(long quantity)Set the quantity.Bullets.Buildertitle(java.lang.String title)Set the title.
-
-
-
Method Detail
-
build
public Bullets build()
Builds a Bullets.- Returns:
- the new Bullets instance
-
title
public Bullets.Builder title(java.lang.String title)
Set the title.- Parameters:
title- the title- Returns:
- the Bullets builder
-
description
public Bullets.Builder description(java.lang.String description)
Set the description.- Parameters:
description- the description- Returns:
- the Bullets builder
-
icon
public Bullets.Builder icon(java.lang.String icon)
Set the icon.- Parameters:
icon- the icon- Returns:
- the Bullets builder
-
quantity
public Bullets.Builder quantity(long quantity)
Set the quantity.- Parameters:
quantity- the quantity- Returns:
- the Bullets builder
-
-