Class SegmentText.SegmentTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.segment.SegmentText.SegmentTextBuilder
Enclosing class:
SegmentText

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

    • segment

      @Nonnull public SegmentText.SegmentTextBuilder segment(Segment value)
      Navigation property to_Segment for SegmentText to single Segment.
      Parameters:
      value - The Segment to build this SegmentText with.
      Returns:
      This Builder to allow for a fluent interface.
    • segment

      @Nonnull public SegmentText.SegmentTextBuilder segment(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Segment

      Parameters:
      value - The segment to build this SegmentText with.
      Returns:
      This Builder to allow for a fluent interface.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • segmentName

      @Nonnull public SegmentText.SegmentTextBuilder segmentName(@Nullable String segmentName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SegmentName

      Returns:
      this.
    • build

      @Nonnull public SegmentText build()
    • toString

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