Class ProductGroup.ProductGroupBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productgroupdata.ProductGroup.ProductGroupBuilder
Enclosing class:
ProductGroup

public static final class ProductGroup.ProductGroupBuilder extends Object
Helper class to allow for fluent creation of ProductGroup instances.
  • Method Details

    • text

      @Nonnull public ProductGroup.ProductGroupBuilder text(ProductGroupText... value)
      Navigation property _Text for ProductGroup to multiple ProductGroupText.
      Parameters:
      value - The ProductGroupTexts to build this ProductGroup with.
      Returns:
      This Builder to allow for a fluent interface.
    • productGroup

      @Nonnull public ProductGroup.ProductGroupBuilder productGroup(@Nullable String productGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: ProductGroup

      Returns:
      this.
    • productGroupName

      @Nonnull public ProductGroup.ProductGroupBuilder productGroupName(@Nullable String productGroupName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ProductGroupName

      Returns:
      this.
    • build

      @Nonnull public ProductGroup build()
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object