java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.defectprocessing.Defect.DefectBuilder
Enclosing class:
Defect

public static class Defect.DefectBuilder extends Object
  • Method Details

    • defectInternalID

      @Nonnull public Defect.DefectBuilder defectInternalID(@Nullable String defectInternalID)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: DefectInternalID

      Returns:
      this.
    • defect

      @Nonnull public Defect.DefectBuilder defect(@Nullable String defect)
      Constraints: Not nullable, Maximum length: 11

      Original property name from the Odata EDM: Defect

      Returns:
      this.
    • defectCategory

      @Nonnull public Defect.DefectBuilder defectCategory(@Nullable String defectCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DefectCategory

      Returns:
      this.
    • createdByUser

      @Nonnull public Defect.DefectBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

      @Nonnull public Defect.DefectBuilder creationDate(@Nullable LocalDateTime creationDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public Defect.DefectBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDate

      @Nonnull public Defect.DefectBuilder lastChangeDate(@Nullable LocalDateTime lastChangeDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • defectText

      @Nonnull public Defect.DefectBuilder defectText(@Nullable String defectText)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: DefectText

      Returns:
      this.
    • defectCodeCatalog

      @Nonnull public Defect.DefectBuilder defectCodeCatalog(@Nullable String defectCodeCatalog)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DefectCodeCatalog

      Returns:
      this.
    • defectCodeGroup

      @Nonnull public Defect.DefectBuilder defectCodeGroup(@Nullable String defectCodeGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: DefectCodeGroup

      Returns:
      this.
    • defectCode

      @Nonnull public Defect.DefectBuilder defectCode(@Nullable String defectCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DefectCode

      Returns:
      this.
    • defectCodeVersion

      @Nonnull public Defect.DefectBuilder defectCodeVersion(@Nullable String defectCodeVersion)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: DefectCodeVersion

      Returns:
      this.
    • defectObjectCodeCatalog

      @Nonnull public Defect.DefectBuilder defectObjectCodeCatalog(@Nullable String defectObjectCodeCatalog)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DefectObjectCodeCatalog

      Returns:
      this.
    • defectObjectCodeGroup

      @Nonnull public Defect.DefectBuilder defectObjectCodeGroup(@Nullable String defectObjectCodeGroup)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: DefectObjectCodeGroup

      Returns:
      this.
    • defectObjectCode

      @Nonnull public Defect.DefectBuilder defectObjectCode(@Nullable String defectObjectCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DefectObjectCode

      Returns:
      this.
    • defectiveQuantity

      @Nonnull public Defect.DefectBuilder defectiveQuantity(@Nullable BigDecimal defectiveQuantity)
      Constraints: Not nullable, Precision: 13, Scale: 3

      Original property name from the Odata EDM: DefectiveQuantity

      Returns:
      this.
    • defectiveQuantityUnit

      @Nonnull public Defect.DefectBuilder defectiveQuantityUnit(@Nullable String defectiveQuantityUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DefectiveQuantityUnit

      Returns:
      this.
    • manufacturingOrder

      @Nonnull public Defect.DefectBuilder manufacturingOrder(@Nullable String manufacturingOrder)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: ManufacturingOrder

      Returns:
      this.
    • orderInternalID

      @Nonnull public Defect.DefectBuilder orderInternalID(@Nullable String orderInternalID)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: OrderInternalID

      Returns:
      this.
    • manufacturingOrderOperation

      @Nonnull public Defect.DefectBuilder manufacturingOrderOperation(@Nullable String manufacturingOrderOperation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ManufacturingOrderOperation

      Returns:
      this.
    • manufacturingOrderSequence

      @Nonnull public Defect.DefectBuilder manufacturingOrderSequence(@Nullable String manufacturingOrderSequence)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ManufacturingOrderSequence

      Returns:
      this.
    • creationTime

      @Nonnull public Defect.DefectBuilder creationTime(@Nullable LocalTime creationTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationTime

      Returns:
      this.
    • lastChangeTime

      @Nonnull public Defect.DefectBuilder lastChangeTime(@Nullable LocalTime lastChangeTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeTime

      Returns:
      this.
    • defectClass

      @Nonnull public Defect.DefectBuilder defectClass(@Nullable String defectClass)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DefectClass

      Returns:
      this.
    • numberOfDefects

      @Nonnull public Defect.DefectBuilder numberOfDefects(@Nullable Integer numberOfDefects)
      Constraints: none

      Original property name from the Odata EDM: NumberOfDefects

      Returns:
      this.
    • inspPlanOperationInternalID

      @Nonnull public Defect.DefectBuilder inspPlanOperationInternalID(@Nullable String inspPlanOperationInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: InspPlanOperationInternalID

      Returns:
      this.
    • inspectionCharacteristic

      @Nonnull public Defect.DefectBuilder inspectionCharacteristic(@Nullable String inspectionCharacteristic)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: InspectionCharacteristic

      Returns:
      this.
    • inspectionSubsetInternalID

      @Nonnull public Defect.DefectBuilder inspectionSubsetInternalID(@Nullable String inspectionSubsetInternalID)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: InspectionSubsetInternalID

      Returns:
      this.
    • materialSample

      @Nonnull public Defect.DefectBuilder materialSample(@Nullable String materialSample)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaterialSample

      Returns:
      this.
    • workCenterTypeCode

      @Nonnull public Defect.DefectBuilder workCenterTypeCode(@Nullable String workCenterTypeCode)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: WorkCenterTypeCode

      Returns:
      this.
    • mainWorkCenterInternalID

      @Nonnull public Defect.DefectBuilder mainWorkCenterInternalID(@Nullable String mainWorkCenterInternalID)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MainWorkCenterInternalID

      Returns:
      this.
    • mainWorkCenterPlant

      @Nonnull public Defect.DefectBuilder mainWorkCenterPlant(@Nullable String mainWorkCenterPlant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MainWorkCenterPlant

      Returns:
      this.
    • mainWorkCenter

      @Nonnull public Defect.DefectBuilder mainWorkCenter(@Nullable String mainWorkCenter)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MainWorkCenter

      Returns:
      this.
    • equipment

      @Nonnull public Defect.DefectBuilder equipment(@Nullable String equipment)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Equipment

      Returns:
      this.
    • functionalLocation

      @Nonnull public Defect.DefectBuilder functionalLocation(@Nullable String functionalLocation)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: FunctionalLocation

      Returns:
      this.
    • isDeleted

      @Nonnull public Defect.DefectBuilder isDeleted(@Nullable String isDeleted)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsDeleted

      Returns:
      this.
    • defectOrigin

      @Nonnull public Defect.DefectBuilder defectOrigin(@Nullable String defectOrigin)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: DefectOrigin

      Returns:
      this.
    • material

      @Nonnull public Defect.DefectBuilder material(@Nullable String material)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: Material

      Returns:
      this.
    • plant

      @Nonnull public Defect.DefectBuilder plant(@Nullable String plant)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: Plant

      Returns:
      this.
    • inspectionLot

      @Nonnull public Defect.DefectBuilder inspectionLot(@Nullable String inspectionLot)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: InspectionLot

      Returns:
      this.
    • catalogProfile

      @Nonnull public Defect.DefectBuilder catalogProfile(@Nullable String catalogProfile)
      Constraints: Not nullable, Maximum length: 9

      Original property name from the Odata EDM: CatalogProfile

      Returns:
      this.
    • changedDateTime

      @Nonnull public Defect.DefectBuilder changedDateTime(@Nullable ZonedDateTime changedDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      this.
    • build

      @Nonnull public Defect build()
    • toString

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