Class Segment.SegmentBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.segment.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

    • text

      @Nonnull public Segment.SegmentBuilder text(SegmentText... value)
      Navigation property to_Text 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.
    • build

      @Nonnull public Segment build()
    • toString

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