Class ProjectDemandType.ProjectDemandTypeBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.projectdemandcategoryandtype.ProjectDemandType.ProjectDemandTypeBuilder
Enclosing class:
ProjectDemandType

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

    • projectDemandCategory

      @Nonnull public ProjectDemandType.ProjectDemandTypeBuilder projectDemandCategory(ProjectDemandCategory value)
      Navigation property _ProjectDemandCategory for ProjectDemandType to single ProjectDemandCategory.
      Parameters:
      value - The ProjectDemandCategory to build this ProjectDemandType with.
      Returns:
      This Builder to allow for a fluent interface.
    • projectDemandCategory

      @Nonnull public ProjectDemandType.ProjectDemandTypeBuilder projectDemandCategory(String value)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ProjectDemandCategory

      Parameters:
      value - The projectDemandCategory to build this ProjectDemandType with.
      Returns:
      This Builder to allow for a fluent interface.
    • text

      Navigation property _Text for ProjectDemandType to multiple ProjectDemandTypeText.
      Parameters:
      value - The ProjectDemandTypeTexts to build this ProjectDemandType with.
      Returns:
      This Builder to allow for a fluent interface.
    • projectDemandType

      @Nonnull public ProjectDemandType.ProjectDemandTypeBuilder projectDemandType(@Nullable String projectDemandType)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: ProjectDemandType

      Returns:
      this.
    • projectDemandTypeName

      @Nonnull public ProjectDemandType.ProjectDemandTypeBuilder projectDemandTypeName(@Nullable String projectDemandTypeName)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ProjectDemandTypeName

      Returns:
      this.
    • build

      @Nonnull public ProjectDemandType build()
    • toString

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