Class SrvcContrItemProduct.SrvcContrItemProductBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.servicecontract.SrvcContrItemProduct.SrvcContrItemProductBuilder
Enclosing class:
SrvcContrItemProduct

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

    • item

      Navigation property _Item for SrvcContrItemProduct to single ServiceContractItem.
      Parameters:
      value - The ServiceContractItem to build this SrvcContrItemProduct with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceContract

      @Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceContract(ServiceContract value)
      Navigation property _ServiceContract for SrvcContrItemProduct to single ServiceContract.
      Parameters:
      value - The ServiceContract to build this SrvcContrItemProduct with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceContract

      @Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceContract(String value)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceContract

      Parameters:
      value - The serviceContract to build this SrvcContrItemProduct with.
      Returns:
      This Builder to allow for a fluent interface.
    • serviceContractItem

      @Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceContractItem(@Nullable String serviceContractItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceContractItem

      Returns:
      this.
    • serviceProductListItem

      @Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder serviceProductListItem(@Nullable String serviceProductListItem)
      (Key Field) Constraints: Not nullable, Maximum length: 6

      Original property name from the Odata EDM: ServiceProductListItem

      Returns:
      this.
    • srvcContrProdListProduct

      @Nonnull public SrvcContrItemProduct.SrvcContrItemProductBuilder srvcContrProdListProduct(@Nullable String srvcContrProdListProduct)
      Constraints: Not nullable, Maximum length: 18

      Original property name from the Odata EDM: SrvcContrProdListProduct

      Returns:
      this.
    • build

      @Nonnull public SrvcContrItemProduct build()
    • toString

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