Class BatchText.BatchTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.batch.BatchText.BatchTextBuilder
Enclosing class:
BatchText

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

    • batch

      @Nonnull public BatchText.BatchTextBuilder batch(Batch value)
      Navigation property to_Batch for BatchText to single Batch.
      Parameters:
      value - The Batch to build this BatchText with.
      Returns:
      This Builder to allow for a fluent interface.
    • batch

      @Nonnull public BatchText.BatchTextBuilder batch(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Batch

      Parameters:
      value - The batch to build this BatchText with.
      Returns:
      This Builder to allow for a fluent interface.
    • material

      @Nonnull public BatchText.BatchTextBuilder material(@Nullable String material)
      (Key Field) Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Material

      Returns:
      this.
    • batchIdentifyingPlant

      @Nonnull public BatchText.BatchTextBuilder batchIdentifyingPlant(@Nullable String batchIdentifyingPlant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BatchIdentifyingPlant

      Returns:
      this.
    • language

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

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • batchDescription

      @Nonnull public BatchText.BatchTextBuilder batchDescription(@Nullable String batchDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BatchDescription

      Returns:
      this.
    • build

      @Nonnull public BatchText build()
    • toString

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