Class Segment.SegmentBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.masterdataforgroupreporting.Segment.SegmentBuilder
- Enclosing class:
- Segment
Helper class to allow for fluent creation of Segment instances.
-
Method Summary
Modifier and TypeMethodDescriptionadditionalMasterDataSource(String additionalMasterDataSource) Constraints: Not nullable, Maximum length: 10build()cnsldtnSegmentHier(SegmentHier... value) Navigation property to_CnsldtnSegmentHier for Segment to multiple SegmentHier.cnsldtnSegmentT(SegmentText... value) Navigation property to_CnsldtnSegmentT for Segment to multiple SegmentText.(Key Field) Constraints: Not nullable, Maximum length: 10segment_Text(String segment_Text) Constraints: Not nullable, Maximum length: 50toString()
-
Method Details
-
cnsldtnSegmentHier
Navigation property to_CnsldtnSegmentHier for Segment to multiple SegmentHier.- Parameters:
value- The SegmentHiers to build this Segment with.- Returns:
- This Builder to allow for a fluent interface.
-
cnsldtnSegmentT
Navigation property to_CnsldtnSegmentT for Segment to multiple SegmentText.- Parameters:
value- The SegmentTexts to build this Segment with.- Returns:
- This Builder to allow for a fluent interface.
-
segment
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: Segment
- Returns:
this.
-
segment_Text
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: Segment_Text
- Returns:
this.
-
additionalMasterDataSource
@Nonnull public Segment.SegmentBuilder additionalMasterDataSource(@Nullable String additionalMasterDataSource) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: AdditionalMasterDataSource
- Returns:
this.
-
build
-
toString
-