java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.masterdataforgroupreporting.CustomerGroup.CustomerGroupBuilder
Enclosing class:
CustomerGroup

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

    • cnsldtnCustomerGroupHier

      @Nonnull public CustomerGroup.CustomerGroupBuilder cnsldtnCustomerGroupHier(CustomerGroupHier... value)
      Navigation property to_CnsldtnCustomerGroupHier for CustomerGroup to multiple CustomerGroupHier.
      Parameters:
      value - The CustomerGroupHiers to build this CustomerGroup with.
      Returns:
      This Builder to allow for a fluent interface.
    • cnsldtnCustomerGroupT

      @Nonnull public CustomerGroup.CustomerGroupBuilder cnsldtnCustomerGroupT(CustomerGroupText... value)
      Navigation property to_CnsldtnCustomerGroupT for CustomerGroup to multiple CustomerGroupText.
      Parameters:
      value - The CustomerGroupTexts to build this CustomerGroup with.
      Returns:
      This Builder to allow for a fluent interface.
    • customerGroup

      @Nonnull public CustomerGroup.CustomerGroupBuilder customerGroup(@Nullable String customerGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: CustomerGroup

      Returns:
      this.
    • customerGroup_Text

      @Nonnull public CustomerGroup.CustomerGroupBuilder customerGroup_Text(@Nullable String customerGroup_Text)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CustomerGroup_Text

      Returns:
      this.
    • additionalMasterDataSource

      @Nonnull public CustomerGroup.CustomerGroupBuilder additionalMasterDataSource(@Nullable String additionalMasterDataSource)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: AdditionalMasterDataSource

      Returns:
      this.
    • build

      @Nonnull public CustomerGroup build()
    • toString

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