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

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

    • cnsldtnSegmentHier

      @Nonnull public Segment.SegmentBuilder cnsldtnSegmentHier(SegmentHier... value)
      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

      @Nonnull public Segment.SegmentBuilder cnsldtnSegmentT(SegmentText... value)
      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

      @Nonnull public Segment.SegmentBuilder segment(@Nullable String segment)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Segment

      Returns:
      this.
    • segment_Text

      @Nonnull public Segment.SegmentBuilder segment_Text(@Nullable String segment_Text)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: Segment_Text

      Returns:
      this.
    • additionalMasterDataSource

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

      Original property name from the Odata EDM: AdditionalMasterDataSource

      Returns:
      this.
    • build

      @Nonnull public Segment build()
    • toString

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