Class ProjectDemandResource.ProjectDemandResourceBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.projectdemand.ProjectDemandResource.ProjectDemandResourceBuilder
- Enclosing class:
- ProjectDemandResource
Helper class to allow for fluent creation of ProjectDemandResource instances.
-
Method Summary
Modifier and TypeMethodDescriptionactivityType(String activityType) Constraints: Not nullable, Maximum length: 6build()costCenter(String costCenter) Constraints: Not nullable, Maximum length: 10projDmndAssgmtStatus(String projDmndAssgmtStatus) Constraints: Not nullable, Maximum length: 1projDmndBillingControlCategory(String projDmndBillingControlCategory) Constraints: Not nullable, Maximum length: 8projDmndRequestedDeliveryOrg(String projDmndRequestedDeliveryOrg) Constraints: Not nullable, Maximum length: 5projectDemandUUID(UUID projectDemandUUID) Constraints: noneprojectDemandWorkUUID(UUID projectDemandWorkUUID) (Key Field) Constraints: Not nullableprojectElementWorkItem(String projectElementWorkItem) Constraints: Not nullable, Maximum length: 10resourceAssignment(ProjDmndResourceAssignment... value) Navigation property to_ResourceAssignment for ProjectDemandResource to multiple ProjDmndResourceAssignment.resourceRequest(ProjectDemandResourceRequest... value) Navigation property to_ResourceRequest for ProjectDemandResource to multiple ProjectDemandResourceRequest.root(ProjectDemand value) Navigation property to_Root for ProjectDemandResource to single ProjectDemand.toString()
-
Method Details
-
root
Navigation property to_Root for ProjectDemandResource to single ProjectDemand.- Parameters:
value- The ProjectDemand to build this ProjectDemandResource with.- Returns:
- This Builder to allow for a fluent interface.
-
resourceAssignment
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder resourceAssignment(ProjDmndResourceAssignment... value) Navigation property to_ResourceAssignment for ProjectDemandResource to multiple ProjDmndResourceAssignment.- Parameters:
value- The ProjDmndResourceAssignments to build this ProjectDemandResource with.- Returns:
- This Builder to allow for a fluent interface.
-
resourceRequest
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder resourceRequest(ProjectDemandResourceRequest... value) Navigation property to_ResourceRequest for ProjectDemandResource to multiple ProjectDemandResourceRequest.- Parameters:
value- The ProjectDemandResourceRequests to build this ProjectDemandResource with.- Returns:
- This Builder to allow for a fluent interface.
-
projectDemandWorkUUID
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projectDemandWorkUUID(@Nullable UUID projectDemandWorkUUID) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectDemandWorkUUID
- Returns:
this.
-
projectDemandUUID
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projectDemandUUID(@Nullable UUID projectDemandUUID) Constraints: noneOriginal property name from the Odata EDM: ProjectDemandUUID
- Returns:
this.
-
costCenter
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder costCenter(@Nullable String costCenter) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Returns:
this.
-
activityType
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder activityType(@Nullable String activityType) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ActivityType
- Returns:
this.
-
projDmndAssgmtStatus
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projDmndAssgmtStatus(@Nullable String projDmndAssgmtStatus) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: ProjDmndAssgmtStatus
- Returns:
this.
-
projectElementWorkItem
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projectElementWorkItem(@Nullable String projectElementWorkItem) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProjectElementWorkItem
- Returns:
this.
-
projDmndBillingControlCategory
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projDmndBillingControlCategory(@Nullable String projDmndBillingControlCategory) Constraints: Not nullable, Maximum length: 8Original property name from the Odata EDM: ProjDmndBillingControlCategory
- Returns:
this.
-
projDmndRequestedDeliveryOrg
@Nonnull public ProjectDemandResource.ProjectDemandResourceBuilder projDmndRequestedDeliveryOrg(@Nullable String projDmndRequestedDeliveryOrg) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: ProjDmndRequestedDeliveryOrg
- Returns:
this.
-
build
-
toString
-