Class CnsldtnSegmentText.CnsldtnSegmentTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationsegment.CnsldtnSegmentText.CnsldtnSegmentTextBuilder
Enclosing class:
CnsldtnSegmentText

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

    • segment

      Navigation property _Segment for CnsldtnSegmentText to single CnsldtnSegment.
      Parameters:
      value - The CnsldtnSegment to build this CnsldtnSegmentText with.
      Returns:
      This Builder to allow for a fluent interface.
    • segment

      @Nonnull public CnsldtnSegmentText.CnsldtnSegmentTextBuilder 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 CnsldtnSegmentText with.
      Returns:
      This Builder to allow for a fluent interface.
    • language

      @Nonnull public CnsldtnSegmentText.CnsldtnSegmentTextBuilder 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 CnsldtnSegmentText.CnsldtnSegmentTextBuilder segmentName(@Nullable String segmentName)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SegmentName

      Returns:
      this.
    • cnsldtnIsAdditionalMasterData

      @Nonnull public CnsldtnSegmentText.CnsldtnSegmentTextBuilder cnsldtnIsAdditionalMasterData(@Nullable Boolean cnsldtnIsAdditionalMasterData)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Returns:
      this.
    • build

      @Nonnull public CnsldtnSegmentText build()
    • toString

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