Class LedgerText.LedgerTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.ledger.LedgerText.LedgerTextBuilder
Enclosing class:
LedgerText

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

    • ledger

      @Nonnull public LedgerText.LedgerTextBuilder ledger(Ledger value)
      Navigation property to_Ledger for LedgerText to single Ledger.
      Parameters:
      value - The Ledger to build this LedgerText with.
      Returns:
      This Builder to allow for a fluent interface.
    • ledger

      @Nonnull public LedgerText.LedgerTextBuilder ledger(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Ledger

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

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • ledgerName

      @Nonnull public LedgerText.LedgerTextBuilder ledgerName(@Nullable String ledgerName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: LedgerName

      Returns:
      this.
    • build

      @Nonnull public LedgerText build()
    • toString

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