Class CostCenterText.CostCenterTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.costcenter.CostCenterText.CostCenterTextBuilder
Enclosing class:
CostCenterText

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

    • costCenter

      @Nonnull public CostCenterText.CostCenterTextBuilder costCenter(CostCenter value)
      Navigation property to_CostCenter for CostCenterText to single CostCenter.
      Parameters:
      value - The CostCenter to build this CostCenterText with.
      Returns:
      This Builder to allow for a fluent interface.
    • costCenter

      @Nonnull public CostCenterText.CostCenterTextBuilder costCenter(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: CostCenter

      Parameters:
      value - The costCenter to build this CostCenterText with.
      Returns:
      This Builder to allow for a fluent interface.
    • controllingArea

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

      Original property name from the Odata EDM: ControllingArea

      Returns:
      this.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • validityEndDate

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

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      this.
    • validityStartDate

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

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      this.
    • costCenterName

      @Nonnull public CostCenterText.CostCenterTextBuilder costCenterName(@Nullable String costCenterName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CostCenterName

      Returns:
      this.
    • costCenterDescription

      @Nonnull public CostCenterText.CostCenterTextBuilder costCenterDescription(@Nullable String costCenterDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CostCenterDescription

      Returns:
      this.
    • build

      @Nonnull public CostCenterText build()
    • toString

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