Class SrvcContrItemProduct.SrvcContrItemProductBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.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

    • serviceContractItem

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

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

      Original property name from the Odata EDM: 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(@Nullable String serviceContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ServiceContract

      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.
    • srvcProductListProduct

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

      Original property name from the Odata EDM: SrvcProductListProduct

      Returns:
      this.
    • build

      @Nonnull public SrvcContrItemProduct build()
    • toString

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