Class SupplyProtection.SupplyProtectionBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplyavailabilityprotectionplan.SupplyProtection.SupplyProtectionBuilder
Enclosing class:
SupplyProtection

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

    • supplyProtectionGroupTP

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supplyProtectionGroupTP(SupplyProtectionGroup... value)
      Navigation property _SupplyProtectionGroupTP for SupplyProtection to multiple SupplyProtectionGroup.
      Parameters:
      value - The SupplyProtectionGroups to build this SupplyProtection with.
      Returns:
      This Builder to allow for a fluent interface.
    • supProtCharacteristicTP

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCharacteristicTP(SupProtCharacteristic... value)
      Navigation property _SupProtCharacteristicTP for SupplyProtection to multiple SupProtCharacteristic.
      Parameters:
      value - The SupProtCharacteristics to build this SupplyProtection with.
      Returns:
      This Builder to allow for a fluent interface.
    • supProtFlexibleTimeBucketTP

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtFlexibleTimeBucketTP(SupProtFlexibleTimeBucket... value)
      Navigation property _SupProtFlexibleTimeBucketTP for SupplyProtection to multiple SupProtFlexibleTimeBucket.
      Parameters:
      value - The SupProtFlexibleTimeBuckets to build this SupplyProtection with.
      Returns:
      This Builder to allow for a fluent interface.
    • supplyProtectionUUID

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supplyProtectionUUID(@Nullable UUID supplyProtectionUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SupplyProtectionUUID

      Returns:
      this.
    • supplyProtectionName

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supplyProtectionName(@Nullable String supplyProtectionName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupplyProtectionName

      Returns:
      this.
    • material

      @Nonnull public SupplyProtection.SupplyProtectionBuilder material(@Nullable String material)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: Material

      Returns:
      this.
    • materialName

      @Nonnull public SupplyProtection.SupplyProtectionBuilder materialName(@Nullable String materialName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: MaterialName

      Returns:
      this.
    • plant

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

      Original property name from the Odata EDM: Plant

      Returns:
      this.
    • plantName

      @Nonnull public SupplyProtection.SupplyProtectionBuilder plantName(@Nullable String plantName)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: PlantName

      Returns:
      this.
    • supProtLifecycleStatus

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtLifecycleStatus(@Nullable String supProtLifecycleStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SupProtLifecycleStatus

      Returns:
      this.
    • supProtLifecycleStatusText

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtLifecycleStatusText(@Nullable String supProtLifecycleStatusText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupProtLifecycleStatusText

      Returns:
      this.
    • supProtPlanningPeriodType

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningPeriodType(@Nullable String supProtPlanningPeriodType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SupProtPlanningPeriodType

      Returns:
      this.
    • supProtPlanningPeriodTypeText

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningPeriodTypeText(@Nullable String supProtPlanningPeriodTypeText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupProtPlanningPeriodTypeText

      Returns:
      this.
    • supProtPlanningPeriodStartDate

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningPeriodStartDate(@Nullable LocalDate supProtPlanningPeriodStartDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SupProtPlanningPeriodStartDate

      Returns:
      this.
    • supProtPlanningPeriodEndDate

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningPeriodEndDate(@Nullable LocalDate supProtPlanningPeriodEndDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SupProtPlanningPeriodEndDate

      Returns:
      this.
    • supProtIsPlanningContextSlsOrd

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtIsPlanningContextSlsOrd(@Nullable Boolean supProtIsPlanningContextSlsOrd)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtIsPlanningContextSlsOrd

      Returns:
      this.
    • supProtIsPlanningContextSTO

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtIsPlanningContextSTO(@Nullable Boolean supProtIsPlanningContextSTO)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtIsPlanningContextSTO

      Returns:
      this.
    • supProtCoreCharc01Name

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc01Name(@Nullable String supProtCoreCharc01Name)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SupProtCoreCharc01Name

      Returns:
      this.
    • coreCharc01CtlgPathIntID

      @Nonnull public SupplyProtection.SupplyProtectionBuilder coreCharc01CtlgPathIntID(@Nullable byte[] coreCharc01CtlgPathIntID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CoreCharc01CtlgPathIntID

      Returns:
      this.
    • supProtCoreCharc01Text

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc01Text(@Nullable String supProtCoreCharc01Text)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: SupProtCoreCharc01Text

      Returns:
      this.
    • supProtCoreCharc01ValueID

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc01ValueID(@Nullable String supProtCoreCharc01ValueID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SupProtCoreCharc01ValueID

      Returns:
      this.
    • supProtCoreCharc02Name

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc02Name(@Nullable String supProtCoreCharc02Name)
      Constraints: Not nullable, Maximum length: 70

      Original property name from the Odata EDM: SupProtCoreCharc02Name

      Returns:
      this.
    • coreCharc02CtlgPathIntID

      @Nonnull public SupplyProtection.SupplyProtectionBuilder coreCharc02CtlgPathIntID(@Nullable byte[] coreCharc02CtlgPathIntID)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: CoreCharc02CtlgPathIntID

      Returns:
      this.
    • supProtCoreCharc02Text

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc02Text(@Nullable String supProtCoreCharc02Text)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: SupProtCoreCharc02Text

      Returns:
      this.
    • supProtCoreCharc02ValueID

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCoreCharc02ValueID(@Nullable String supProtCoreCharc02ValueID)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SupProtCoreCharc02ValueID

      Returns:
      this.
    • unitOfMeasure

      @Nonnull public SupplyProtection.SupplyProtectionBuilder unitOfMeasure(@Nullable String unitOfMeasure)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: UnitOfMeasure

      Returns:
      this.
    • supProtProtectedQuantity

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtProtectedQuantity(@Nullable BigDecimal supProtProtectedQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: SupProtProtectedQuantity

      Returns:
      this.
    • supProtConsumedQuantity

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtConsumedQuantity(@Nullable BigDecimal supProtConsumedQuantity)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: SupProtConsumedQuantity

      Returns:
      this.
    • supProtRemainingProtectedQty

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtRemainingProtectedQty(@Nullable BigDecimal supProtRemainingProtectedQty)
      Constraints: Not nullable, Precision: 15, Scale: 3

      Original property name from the Odata EDM: SupProtRemainingProtectedQty

      Returns:
      this.
    • createdByUser

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

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • creationDateTime

      @Nonnull public SupplyProtection.SupplyProtectionBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • lastChangedByUser

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

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangeDateTime

      @Nonnull public SupplyProtection.SupplyProtectionBuilder lastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime)
      Constraints: Nullable, Precision: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      this.
    • charcValAuthznGroup

      @Nonnull public SupplyProtection.SupplyProtectionBuilder charcValAuthznGroup(@Nullable String charcValAuthznGroup)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CharcValAuthznGroup

      Returns:
      this.
    • supProtAutomActivationIsActive

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtAutomActivationIsActive(@Nullable Boolean supProtAutomActivationIsActive)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtAutomActivationIsActive

      Returns:
      this.
    • supProtAutomActivationDate

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtAutomActivationDate(@Nullable LocalDate supProtAutomActivationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SupProtAutomActivationDate

      Returns:
      this.
    • supProtActivationDate

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtActivationDate(@Nullable LocalDate supProtActivationDate)
      Constraints: Nullable

      Original property name from the Odata EDM: SupProtActivationDate

      Returns:
      this.
    • supProtCnsmpnDateTimeType

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCnsmpnDateTimeType(@Nullable String supProtCnsmpnDateTimeType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SupProtCnsmpnDateTimeType

      Returns:
      this.
    • supProtCnsmpnDateTimeTypeText

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtCnsmpnDateTimeTypeText(@Nullable String supProtCnsmpnDateTimeTypeText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupProtCnsmpnDateTimeTypeText

      Returns:
      this.
    • supProtSelfRestrictionType

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtSelfRestrictionType(@Nullable String supProtSelfRestrictionType)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SupProtSelfRestrictionType

      Returns:
      this.
    • supProtSelfRestrictionTypeText

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtSelfRestrictionTypeText(@Nullable String supProtSelfRestrictionTypeText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupProtSelfRestrictionTypeText

      Returns:
      this.
    • supProtPlngContextIsConsistent

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlngContextIsConsistent(@Nullable Boolean supProtPlngContextIsConsistent)
      Constraints: Not nullable

      Original property name from the Odata EDM: SupProtPlngContextIsConsistent

      Returns:
      this.
    • storageLocation

      @Nonnull public SupplyProtection.SupplyProtectionBuilder storageLocation(@Nullable String storageLocation)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: StorageLocation

      Returns:
      this.
    • storageLocationName

      @Nonnull public SupplyProtection.SupplyProtectionBuilder storageLocationName(@Nullable String storageLocationName)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: StorageLocationName

      Returns:
      this.
    • supProtPlanningLevel

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningLevel(@Nullable String supProtPlanningLevel)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SupProtPlanningLevel

      Returns:
      this.
    • supProtPlanningLevelText

      @Nonnull public SupplyProtection.SupplyProtectionBuilder supProtPlanningLevelText(@Nullable String supProtPlanningLevelText)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SupProtPlanningLevelText

      Returns:
      this.
    • _Messages

      @Nonnull public SupplyProtection.SupplyProtectionBuilder _Messages(@Nullable Collection<SAP__Message> _Messages)
      Constraints: Not nullable

      Original property name from the Odata EDM: SAP__Messages

      Returns:
      this.
    • build

      @Nonnull public SupplyProtection build()
    • toString

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