Class MaintenanceItemCause.MaintenanceItemCauseBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.maintenanceitem.MaintenanceItemCause.MaintenanceItemCauseBuilder
Enclosing class:
MaintenanceItemCause

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

    • maintenanceItem

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceItem(MaintenanceItem value)
      Navigation property to_MaintenanceItem for MaintenanceItemCause to single MaintenanceItem.
      Parameters:
      value - The MaintenanceItem to build this MaintenanceItemCause with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintenanceItem

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceItem(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: MaintenanceItem

      Parameters:
      value - The maintenanceItem to build this MaintenanceItemCause with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintenanceItemCauseText

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceItemCauseText(MaintenanceItemCauseText... value)
      Navigation property to_MaintenanceItemCauseText for MaintenanceItemCause to multiple MaintenanceItemCauseText.
      Parameters:
      value - The MaintenanceItemCauseTexts to build this MaintenanceItemCause with.
      Returns:
      This Builder to allow for a fluent interface.
    • nmbrOfMaintComplianceItems

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder nmbrOfMaintComplianceItems(@Nullable String nmbrOfMaintComplianceItems)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NmbrOfMaintComplianceItems

      Returns:
      this.
    • maintenanceComplianceGroupCode

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceComplianceGroupCode(@Nullable String maintenanceComplianceGroupCode)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MaintenanceComplianceGroupCode

      Returns:
      this.
    • maintenanceComplianceCode

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceComplianceCode(@Nullable String maintenanceComplianceCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaintenanceComplianceCode

      Returns:
      this.
    • maintenanceComplianceTypeCode

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenanceComplianceTypeCode(@Nullable String maintenanceComplianceTypeCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintenanceComplianceTypeCode

      Returns:
      this.
    • maintComplianceCatalogCode

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintComplianceCatalogCode(@Nullable String maintComplianceCatalogCode)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintComplianceCatalogCode

      Returns:
      this.
    • maintComplianceDescription

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintComplianceDescription(@Nullable String maintComplianceDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintComplianceDescription

      Returns:
      this.
    • maintenancePackage

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintenancePackage(@Nullable String maintenancePackage)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MaintenancePackage

      Returns:
      this.
    • maintCmplRqIsLegallyBinding

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintCmplRqIsLegallyBinding(@Nullable String maintCmplRqIsLegallyBinding)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintCmplRqIsLegallyBinding

      Returns:
      this.
    • maintCmplRqOriginCode

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder maintCmplRqOriginCode(@Nullable String maintCmplRqOriginCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: MaintCmplRqOriginCode

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • lastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public MaintenanceItemCause.MaintenanceItemCauseBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • build

      @Nonnull public MaintenanceItemCause build()
    • toString

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