Class CnsldtnSegment.CnsldtnSegmentBuilder

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

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

    • text

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

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

      Original property name from the Odata EDM: Segment

      Returns:
      this.
    • cnsldtnIsAdditionalMasterData

      @Nonnull public CnsldtnSegment.CnsldtnSegmentBuilder cnsldtnIsAdditionalMasterData(@Nullable Boolean cnsldtnIsAdditionalMasterData)
      Constraints: Not nullable

      Original property name from the Odata EDM: CnsldtnIsAdditionalMasterData

      Returns:
      this.
    • _Messages

      @Nonnull public CnsldtnSegment.CnsldtnSegmentBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public CnsldtnSegment build()
    • toString

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