Class ProfitCenterText.ProfitCenterTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.profitcenter.ProfitCenterText.ProfitCenterTextBuilder
Enclosing class:
ProfitCenterText

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

    • profitCenter

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenter(ProfitCenter value)
      Navigation property to_ProfitCenter for ProfitCenterText to single ProfitCenter.
      Parameters:
      value - The ProfitCenter to build this ProfitCenterText with.
      Returns:
      This Builder to allow for a fluent interface.
    • profitCenter

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenter(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ProfitCenter

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

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • controllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      this.
    • validityEndDate

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder validityEndDate(@Nullable LocalDateTime validityEndDate)
      (Key Field) Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      this.
    • validityStartDate

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder validityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • profitCenterName

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenterName(@Nullable String profitCenterName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ProfitCenterName

      Returns:
      this.
    • profitCenterLongName

      @Nonnull public ProfitCenterText.ProfitCenterTextBuilder profitCenterLongName(@Nullable String profitCenterLongName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProfitCenterLongName

      Returns:
      this.
    • build

      @Nonnull public ProfitCenterText build()
    • toString

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