Class GrantCoreText.GrantCoreTextBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.grant.GrantCoreText.GrantCoreTextBuilder
Enclosing class:
GrantCoreText

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

    • grant

      @Nonnull public GrantCoreText.GrantCoreTextBuilder grant(GrantCore value)
      Navigation property to_Grant for GrantCoreText to single GrantCore.
      Parameters:
      value - The GrantCore to build this GrantCoreText with.
      Returns:
      This Builder to allow for a fluent interface.
    • grantID

      @Nonnull public GrantCoreText.GrantCoreTextBuilder grantID(@Nullable String grantID)
      (Key Field) Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GrantID

      Returns:
      this.
    • language

      @Nonnull public GrantCoreText.GrantCoreTextBuilder language(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      this.
    • grantName

      @Nonnull public GrantCoreText.GrantCoreTextBuilder grantName(@Nullable String grantName)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: GrantName

      Returns:
      this.
    • grantDescription

      @Nonnull public GrantCoreText.GrantCoreTextBuilder grantDescription(@Nullable String grantDescription)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: GrantDescription

      Returns:
      this.
    • build

      @Nonnull public GrantCoreText build()
    • toString

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