Class TaskCode.TaskCodeBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.taskcode.TaskCode.TaskCodeBuilder
Enclosing class:
TaskCode

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

    • taskCodeText

      @Nonnull public TaskCode.TaskCodeBuilder taskCodeText(TaskCodeText... value)
      Navigation property _TaskCodeText for TaskCode to multiple TaskCodeText.
      Parameters:
      value - The TaskCodeTexts to build this TaskCode with.
      Returns:
      This Builder to allow for a fluent interface.
    • taskCodeGroup

      @Nonnull public TaskCode.TaskCodeBuilder taskCodeGroup(@Nullable String taskCodeGroup)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: TaskCodeGroup

      Returns:
      this.
    • taskCode

      @Nonnull public TaskCode.TaskCodeBuilder taskCode(@Nullable String taskCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: TaskCode

      Returns:
      this.
    • codeIsInactive

      @Nonnull public TaskCode.TaskCodeBuilder codeIsInactive(@Nullable Boolean codeIsInactive)
      Constraints: Not nullable

      Original property name from the Odata EDM: CodeIsInactive

      Returns:
      this.
    • codeGroupIsUsable

      @Nonnull public TaskCode.TaskCodeBuilder codeGroupIsUsable(@Nullable Boolean codeGroupIsUsable)
      Constraints: Not nullable

      Original property name from the Odata EDM: CodeGroupIsUsable

      Returns:
      this.
    • build

      @Nonnull public TaskCode build()
    • toString

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