Class EnterpriseProjectRole.EnterpriseProjectRoleBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.enterpriseprojectv2.EnterpriseProjectRole.EnterpriseProjectRoleBuilder
- Enclosing class:
- EnterpriseProjectRole
Helper class to allow for fluent creation of EnterpriseProjectRole instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDateTime(ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 0Navigation property to_EnterpriseProject for EnterpriseProjectRole to single EnterpriseProject.lastChangeDateTime(ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0lastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12projectRoleCategory(String projectRoleCategory) Constraints: Not nullable, Maximum length: 3projectRoleName(String projectRoleName) Constraints: Not nullable, Maximum length: 40projectRoleType(String projectRoleType) Constraints: Not nullable, Maximum length: 15projectRoleUUID(UUID projectRoleUUID) (Key Field) Constraints: Not nullableprojectUUID(UUID projectUUID) Constraints: nonetoString()
-
Method Details
-
enterpriseProject
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder enterpriseProject(EnterpriseProject value) Navigation property to_EnterpriseProject for EnterpriseProjectRole to single EnterpriseProject.- Parameters:
value- The EnterpriseProject to build this EnterpriseProjectRole with.- Returns:
- This Builder to allow for a fluent interface.
-
projectRoleUUID
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder projectRoleUUID(@Nullable UUID projectRoleUUID) (Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: ProjectRoleUUID
- Returns:
this.
-
projectUUID
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder projectUUID(@Nullable UUID projectUUID) Constraints: noneOriginal property name from the Odata EDM: ProjectUUID
- Returns:
this.
-
projectRoleType
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder projectRoleType(@Nullable String projectRoleType) Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: ProjectRoleType
- Returns:
this.
-
projectRoleCategory
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder projectRoleCategory(@Nullable String projectRoleCategory) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: ProjectRoleCategory
- Returns:
this.
-
projectRoleName
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder projectRoleName(@Nullable String projectRoleName) Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: ProjectRoleName
- Returns:
this.
-
createdByUser
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
creationDateTime
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder creationDateTime(@Nullable ZonedDateTime creationDateTime) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDateTime
- Returns:
this.
-
lastChangedByUser
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder lastChangedByUser(@Nullable String lastChangedByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
this.
-
lastChangeDateTime
@Nonnull public EnterpriseProjectRole.EnterpriseProjectRoleBuilder lastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: LastChangeDateTime
- Returns:
this.
-
build
-
toString
-