Class SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.supplyavailabilityprotectionplanv2.SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder
- Enclosing class:
- SupProtFlexibleTimeBucket
Helper class to allow for fluent creation of SupProtFlexibleTimeBucket instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7Constraints: NullablelastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7lastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12numberOfDays(Integer numberOfDays) Constraints: Not nullableConstraints: NullableNavigation property _SupplyProtectionTP for SupProtFlexibleTimeBucket to single SupplyProtection.supplyProtectionUUID(UUID supplyProtectionUUID) Constraints: Not nullablesupProtFlexibleTimeBucketUUID(UUID supProtFlexibleTimeBucketUUID) (Key Field) Constraints: Not nullablesupProtPeriodEndUTCDateTime(OffsetDateTime supProtPeriodEndUTCDateTime) Constraints: Nullable, Precision: 7supProtPeriodStartUTCDateTime(OffsetDateTime supProtPeriodStartUTCDateTime) Constraints: Nullable, Precision: 7toString()
-
Method Details
-
supplyProtectionTP
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder supplyProtectionTP(SupplyProtection value) Navigation property _SupplyProtectionTP for SupProtFlexibleTimeBucket to single SupplyProtection.- Parameters:
value- The SupplyProtection to build this SupProtFlexibleTimeBucket with.- Returns:
- This Builder to allow for a fluent interface.
-
supProtFlexibleTimeBucketUUID
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder supProtFlexibleTimeBucketUUID(@Nullable UUID supProtFlexibleTimeBucketUUID) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SupProtFlexibleTimeBucketUUID
- Returns:
this.
-
supplyProtectionUUID
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder supplyProtectionUUID(@Nullable UUID supplyProtectionUUID) Constraints: Not nullableOriginal property name from the Odata EDM: SupplyProtectionUUID
- Returns:
this.
-
supProtPeriodStartUTCDateTime
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder supProtPeriodStartUTCDateTime(@Nullable OffsetDateTime supProtPeriodStartUTCDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodStartUTCDateTime
- Returns:
this.
-
startDate
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder startDate(@Nullable LocalDate startDate) Constraints: NullableOriginal property name from the Odata EDM: StartDate
- Returns:
this.
-
supProtPeriodEndUTCDateTime
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder supProtPeriodEndUTCDateTime(@Nullable OffsetDateTime supProtPeriodEndUTCDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: SupProtPeriodEndUTCDateTime
- Returns:
this.
-
endDate
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder endDate(@Nullable LocalDate endDate) Constraints: NullableOriginal property name from the Odata EDM: EndDate
- Returns:
this.
-
numberOfDays
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder numberOfDays(@Nullable Integer numberOfDays) Constraints: Not nullableOriginal property name from the Odata EDM: NumberOfDays
- Returns:
this.
-
createdByUser
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
creationDateTime
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
this.
-
lastChangedByUser
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder lastChangedByUser(@Nullable String lastChangedByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
this.
-
lastChangeDateTime
@Nonnull public SupProtFlexibleTimeBucket.SupProtFlexibleTimeBucketBuilder lastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
this.
-
build
-
toString
-