Class BatchClass.BatchClassBuilder

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

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

    • batch

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

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

      @Nonnull public BatchClass.BatchClassBuilder 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 BatchClass.BatchClassBuilder batchIdentifyingPlant(@Nullable String batchIdentifyingPlant)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: BatchIdentifyingPlant

      Returns:
      this.
    • classInternalID

      @Nonnull public BatchClass.BatchClassBuilder classInternalID(@Nullable String classInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ClassInternalID

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public BatchClass.BatchClassBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • build

      @Nonnull public BatchClass build()
    • toString

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