Class ProductTypeText.ProductTypeTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.producttype.ProductTypeText.ProductTypeTextBuilder
Enclosing class:
ProductTypeText

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

    • productType

      @Nonnull public ProductTypeText.ProductTypeTextBuilder productType(ProductType value)
      Navigation property _ProductType for ProductTypeText to single ProductType.
      Parameters:
      value - The ProductType to build this ProductTypeText with.
      Returns:
      This Builder to allow for a fluent interface.
    • productType

      @Nonnull public ProductTypeText.ProductTypeTextBuilder productType(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProductType

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

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • productTypeName

      @Nonnull public ProductTypeText.ProductTypeTextBuilder productTypeName(@Nullable String productTypeName)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: ProductTypeName

      Returns:
      this.
    • build

      @Nonnull public ProductTypeText build()
    • toString

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