Class ProductGroupText.ProductGroupTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.productgroup.ProductGroupText.ProductGroupTextBuilder
Enclosing class:
ProductGroupText

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

    • materialGroup

      @Nonnull public ProductGroupText.ProductGroupTextBuilder materialGroup(ProductGroup value)
      Navigation property to_MaterialGroup for ProductGroupText to single ProductGroup.
      Parameters:
      value - The ProductGroup to build this ProductGroupText with.
      Returns:
      This Builder to allow for a fluent interface.
    • materialGroup

      @Nonnull public ProductGroupText.ProductGroupTextBuilder materialGroup(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: MaterialGroup

      Parameters:
      value - The materialGroup to build this ProductGroupText with.
      Returns:
      This Builder to allow for a fluent interface.
    • language

      @Nonnull public ProductGroupText.ProductGroupTextBuilder language(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • materialGroupName

      @Nonnull public ProductGroupText.ProductGroupTextBuilder materialGroupName(@Nullable String materialGroupName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MaterialGroupName

      Returns:
      this.
    • materialGroupText

      @Nonnull public ProductGroupText.ProductGroupTextBuilder materialGroupText(@Nullable String materialGroupText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: MaterialGroupText

      Returns:
      this.
    • build

      @Nonnull public ProductGroupText build()
    • toString

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