Class CostCenterText.CostCenterTextBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.costcenter.CostCenterText.CostCenterTextBuilder
- Enclosing class:
- CostCenterText
Helper class to allow for fluent creation of CostCenterText instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()controllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4costCenter(CostCenter value) Navigation property to_CostCenter for CostCenterText to single CostCenter.costCenter(String value) (Key Field) Constraints: Not nullable, Maximum length: 10costCenterDescription(String costCenterDescription) Constraints: Not nullable, Maximum length: 40costCenterName(String costCenterName) Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullable, Maximum length: 2toString()validityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0validityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0
-
Method Details
-
costCenter
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
(Key Field) Constraints: Not nullable, Maximum length: 10Original 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: 4Original property name from the Odata EDM: ControllingArea
- Returns:
this.
-
language
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
this.
-
validityEndDate
@Nonnull public CostCenterText.CostCenterTextBuilder validityEndDate(@Nullable LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
this.
-
validityStartDate
@Nonnull public CostCenterText.CostCenterTextBuilder validityStartDate(@Nullable LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
this.
-
costCenterName
@Nonnull public CostCenterText.CostCenterTextBuilder costCenterName(@Nullable String costCenterName) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Returns:
this.
-
costCenterDescription
@Nonnull public CostCenterText.CostCenterTextBuilder costCenterDescription(@Nullable String costCenterDescription) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CostCenterDescription
- Returns:
this.
-
build
-
toString
-