Class CnsldtnProductText.CnsldtnProductTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationproduct.CnsldtnProductText.CnsldtnProductTextBuilder
Enclosing class:
CnsldtnProductText

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

    • product

      Navigation property _Product for CnsldtnProductText to single CnsldtnProduct.
      Parameters:
      value - The CnsldtnProduct to build this CnsldtnProductText with.
      Returns:
      This Builder to allow for a fluent interface.
    • product

      @Nonnull public CnsldtnProductText.CnsldtnProductTextBuilder product(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Product

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

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • productName

      @Nonnull public CnsldtnProductText.CnsldtnProductTextBuilder productName(@Nullable String productName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProductName

      Returns:
      this.
    • cnsldtnIsAdditionalMasterData

      @Nonnull public CnsldtnProductText.CnsldtnProductTextBuilder cnsldtnIsAdditionalMasterData(@Nullable Boolean cnsldtnIsAdditionalMasterData)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Returns:
      this.
    • build

      @Nonnull public CnsldtnProductText build()
    • toString

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