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

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

    • cnsldtnCostCenterHier

      @Nonnull public CostCenter.CostCenterBuilder cnsldtnCostCenterHier(CostCenterHier... value)
      Navigation property to_CnsldtnCostCenterHier for CostCenter to multiple CostCenterHier.
      Parameters:
      value - The CostCenterHiers to build this CostCenter with.
      Returns:
      This Builder to allow for a fluent interface.
    • cnsldtnCostCenterT

      @Nonnull public CostCenter.CostCenterBuilder cnsldtnCostCenterT(CostCenterText... value)
      Navigation property to_CnsldtnCostCenterT for CostCenter to multiple CostCenterText.
      Parameters:
      value - The CostCenterTexts to build this CostCenter with.
      Returns:
      This Builder to allow for a fluent interface.
    • costCenter

      @Nonnull public CostCenter.CostCenterBuilder costCenter(@Nullable String costCenter)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Returns:
      this.
    • costCenter_Text

      @Nonnull public CostCenter.CostCenterBuilder costCenter_Text(@Nullable String costCenter_Text)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CostCenter_Text

      Returns:
      this.
    • controllingArea

      @Nonnull public CostCenter.CostCenterBuilder controllingArea(@Nullable String controllingArea)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ControllingArea

      Returns:
      this.
    • additionalMasterDataSource

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

      Original property name from the Odata EDM: AdditionalMasterDataSource

      Returns:
      this.
    • build

      @Nonnull public CostCenter build()
    • toString

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