Class MaintenancePlan.MaintenancePlanBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.maintenanceplan.MaintenancePlan.MaintenancePlanBuilder
Enclosing class:
MaintenancePlan

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

    • item

      Navigation property to_Item for MaintenancePlan to multiple MaintenanceItem.
      Parameters:
      value - The MaintenanceItems to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • longText

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder longText(MaintenancePlanText... value)
      Navigation property to_LongText for MaintenancePlan to multiple MaintenancePlanText.
      Parameters:
      value - The MaintenancePlanTexts to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintenanceCycle

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenanceCycle(MaintenancePlanCycle... value)
      Navigation property to_MaintenanceCycle for MaintenancePlan to multiple MaintenancePlanCycle.
      Parameters:
      value - The MaintenancePlanCycles to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintPlanClfnClass

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanClfnClass(MaintPlanClfnClass... value)
      Navigation property to_MaintPlanClfnClass for MaintenancePlan to multiple MaintPlanClfnClass.
      Parameters:
      value - The MaintPlanClfnClasss to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • schedules

      Navigation property to_Schedules for MaintenancePlan to multiple MaintenancePlanSchedule.
      Parameters:
      value - The MaintenancePlanSchedules to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • strategyCycle

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder strategyCycle(MaintenancePlanStrategyCycle... value)
      Navigation property to_StrategyCycle for MaintenancePlan to multiple MaintenancePlanStrategyCycle.
      Parameters:
      value - The MaintenancePlanStrategyCycles to build this MaintenancePlan with.
      Returns:
      This Builder to allow for a fluent interface.
    • maintenancePlan

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlan(@Nullable String maintenancePlan)
      (Key Field) Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: MaintenancePlan

      Returns:
      this.
    • maintenancePlanDesc

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlanDesc(@Nullable String maintenancePlanDesc)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaintenancePlanDesc

      Returns:
      this.
    • creationDate

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

      Original property name from the Odata EDM: CreationDate

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • lastChangeDate

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

      Original property name from the Odata EDM: LastChangeDate

      Returns:
      this.
    • lastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • maintenanceStrategy

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenanceStrategy(@Nullable String maintenanceStrategy)
      Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: MaintenanceStrategy

      Returns:
      this.
    • schedulingDuration

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder schedulingDuration(@Nullable String schedulingDuration)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SchedulingDuration

      Returns:
      this.
    • schedulingDurationUnit

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder schedulingDurationUnit(@Nullable String schedulingDurationUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SchedulingDurationUnit

      Returns:
      this.
    • numberOfMaintenanceItems

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder numberOfMaintenanceItems(@Nullable String numberOfMaintenanceItems)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: NumberOfMaintenanceItems

      Returns:
      this.
    • cycleModificationRatio

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder cycleModificationRatio(@Nullable BigDecimal cycleModificationRatio)
      Constraints: Not nullable, Precision: 3, Scale: 2

      Original property name from the Odata EDM: CycleModificationRatio

      Returns:
      this.
    • maintPlanSchedgIndicator

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanSchedgIndicator(@Nullable String maintPlanSchedgIndicator)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintPlanSchedgIndicator

      Returns:
      this.
    • callHorizonPercent

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder callHorizonPercent(@Nullable String callHorizonPercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CallHorizonPercent

      Returns:
      this.
    • callHorizonInDays

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder callHorizonInDays(@Nullable String callHorizonInDays)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: CallHorizonInDays

      Returns:
      this.
    • maintenanceCallHorizonCalcType

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenanceCallHorizonCalcType(@Nullable String maintenanceCallHorizonCalcType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintenanceCallHorizonCalcType

      Returns:
      this.
    • authorizationGroup

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder authorizationGroup(@Nullable String authorizationGroup)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: AuthorizationGroup

      Returns:
      this.
    • maintenancePlanInternalID

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlanInternalID(@Nullable String maintenancePlanInternalID)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: MaintenancePlanInternalID

      Returns:
      this.
    • maintenanceCall

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenanceCall(@Nullable Integer maintenanceCall)
      Constraints: none

      Original property name from the Odata EDM: MaintenanceCall

      Returns:
      this.
    • maintenancePlanCategory

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlanCategory(@Nullable String maintenancePlanCategory)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: MaintenancePlanCategory

      Returns:
      this.
    • maintPlanFreeDefinedAttrib

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanFreeDefinedAttrib(@Nullable String maintPlanFreeDefinedAttrib)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: MaintPlanFreeDefinedAttrib

      Returns:
      this.
    • basicStartDate

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder basicStartDate(@Nullable LocalDateTime basicStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: BasicStartDate

      Returns:
      this.
    • schedulingStartDate

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder schedulingStartDate(@Nullable LocalDateTime schedulingStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SchedulingStartDate

      Returns:
      this.
    • schedulingStartTime

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder schedulingStartTime(@Nullable LocalTime schedulingStartTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SchedulingStartTime

      Returns:
      this.
    • maintPlanStartCntrReadingValue

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanStartCntrReadingValue(@Nullable String maintPlanStartCntrReadingValue)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: MaintPlanStartCntrReadingValue

      Returns:
      this.
    • maintPlnStrtBufDurationInDays

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlnStrtBufDurationInDays(@Nullable String maintPlnStrtBufDurationInDays)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MaintPlnStrtBufDurationInDays

      Returns:
      this.
    • maintPlanStartBufferUnit

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanStartBufferUnit(@Nullable String maintPlanStartBufferUnit)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MaintPlanStartBufferUnit

      Returns:
      this.
    • factoryCalendar

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder factoryCalendar(@Nullable String factoryCalendar)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: FactoryCalendar

      Returns:
      this.
    • lateCompletionShiftInPercent

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder lateCompletionShiftInPercent(@Nullable String lateCompletionShiftInPercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LateCompletionShiftInPercent

      Returns:
      this.
    • lateCompletionTolerancePercent

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder lateCompletionTolerancePercent(@Nullable String lateCompletionTolerancePercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: LateCompletionTolerancePercent

      Returns:
      this.
    • earlyCompletionShiftInPercent

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder earlyCompletionShiftInPercent(@Nullable String earlyCompletionShiftInPercent)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EarlyCompletionShiftInPercent

      Returns:
      this.
    • earlyCompletionTolerancePct

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder earlyCompletionTolerancePct(@Nullable String earlyCompletionTolerancePct)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: EarlyCompletionTolerancePct

      Returns:
      this.
    • prdcssrCallObjCompltnIsRqd

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder prdcssrCallObjCompltnIsRqd(@Nullable String prdcssrCallObjCompltnIsRqd)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PrdcssrCallObjCompltnIsRqd

      Returns:
      this.
    • maintPlanLogicalOperatorCode

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanLogicalOperatorCode(@Nullable String maintPlanLogicalOperatorCode)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: MaintPlanLogicalOperatorCode

      Returns:
      this.
    • schedulingEndDate

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder schedulingEndDate(@Nullable LocalDateTime schedulingEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: SchedulingEndDate

      Returns:
      this.
    • maintPlanEndCntrReadingValue

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintPlanEndCntrReadingValue(@Nullable String maintPlanEndCntrReadingValue)
      Constraints: Not nullable, Maximum length: 22

      Original property name from the Odata EDM: MaintPlanEndCntrReadingValue

      Returns:
      this.
    • lastChangeDateTime

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

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • multipleCounterPlanShiftFactor

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder multipleCounterPlanShiftFactor(@Nullable String multipleCounterPlanShiftFactor)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MultipleCounterPlanShiftFactor

      Returns:
      this.
    • maintenanceLeadFloatInDays

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenanceLeadFloatInDays(@Nullable String maintenanceLeadFloatInDays)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: MaintenanceLeadFloatInDays

      Returns:
      this.
    • maintenancePlanCallObject

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlanCallObject(@Nullable String maintenancePlanCallObject)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: MaintenancePlanCallObject

      Returns:
      this.
    • maintenancePlanSystemStatus

      @Nonnull public MaintenancePlan.MaintenancePlanBuilder maintenancePlanSystemStatus(@Nullable String maintenancePlanSystemStatus)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: MaintenancePlanSystemStatus

      Returns:
      this.
    • build

      @Nonnull public MaintenancePlan build()
    • toString

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