java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.defectcodeandcodegroup.DefectCode.DefectCodeBuilder
Enclosing class:
DefectCode

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

    • defectCodeGroup

      @Nonnull public DefectCode.DefectCodeBuilder defectCodeGroup(DefectCodeGroup value)
      Navigation property to_DefectCodeGroup for DefectCode to single DefectCodeGroup.
      Parameters:
      value - The DefectCodeGroup to build this DefectCode with.
      Returns:
      This Builder to allow for a fluent interface.
    • defectCodeGroup

      @Nonnull public DefectCode.DefectCodeBuilder defectCodeGroup(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 8

      Original property name from the Odata EDM: DefectCodeGroup

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

      @Nonnull public DefectCode.DefectCodeBuilder text(DefectCodeText... value)
      Navigation property to_Text for DefectCode to multiple DefectCodeText.
      Parameters:
      value - The DefectCodeTexts to build this DefectCode with.
      Returns:
      This Builder to allow for a fluent interface.
    • defectCode

      @Nonnull public DefectCode.DefectCodeBuilder defectCode(@Nullable String defectCode)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: DefectCode

      Returns:
      this.
    • codeIsInactive

      @Nonnull public DefectCode.DefectCodeBuilder codeIsInactive(@Nullable String codeIsInactive)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: CodeIsInactive

      Returns:
      this.
    • codeGroupIsUsable

      @Nonnull public DefectCode.DefectCodeBuilder codeGroupIsUsable(@Nullable Boolean codeGroupIsUsable)
      Constraints: none

      Original property name from the Odata EDM: CodeGroupIsUsable

      Returns:
      this.
    • build

      @Nonnull public DefectCode build()
    • toString

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