Class MaintenanceItemReason.MaintenanceItemReasonBuilder

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

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

    • maintenanceItem

      Navigation property to_MaintenanceItem for MaintenanceItemReason to single MaintenanceItem.
      Parameters:
      value - The MaintenanceItem to build this MaintenanceItemReason with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintenanceItem

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

      @Nonnull public MaintenanceItemReason.MaintenanceItemReasonBuilder maintenanceItemReasonText(MaintenanceItemReasonText... value)
      Navigation property to_MaintenanceItemReasonText for MaintenanceItemReason to multiple MaintenanceItemReasonText.
      Parameters:
      value - The MaintenanceItemReasonTexts to build this MaintenanceItemReason with.
      Returns:
      This Builder to allow for a fluent interface.
    • nmbrOfMaintComplianceItems

      @Nonnull public MaintenanceItemReason.MaintenanceItemReasonBuilder 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 MaintenanceItemReason.MaintenanceItemReasonBuilder maintenanceComplianceGroupCode(@Nullable String maintenanceComplianceGroupCode)
      Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: MaintenanceComplianceGroupCode

      Returns:
      this.
    • maintenanceComplianceCode

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

      Original property name from the Odata EDM: MaintenanceComplianceCode

      Returns:
      this.
    • maintenanceComplianceTypeCode

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

      Original property name from the Odata EDM: MaintenanceComplianceTypeCode

      Returns:
      this.
    • maintComplianceCatalogCode

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

      Original property name from the Odata EDM: MaintComplianceCatalogCode

      Returns:
      this.
    • maintComplianceDescription

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

      Original property name from the Odata EDM: MaintComplianceDescription

      Returns:
      this.
    • maintenancePackage

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

      Original property name from the Odata EDM: MaintenancePackage

      Returns:
      this.
    • maintCmplRqIsLegallyBinding

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

      Original property name from the Odata EDM: MaintCmplRqIsLegallyBinding

      Returns:
      this.
    • maintCmplRqOriginCode

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

      Original property name from the Odata EDM: MaintCmplRqOriginCode

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • lastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • build

      @Nonnull public MaintenanceItemReason build()
    • toString

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