Class LabelTemplateVersion.LabelTemplateVersionBuilder
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.labeltemplatemetadata.LabelTemplateVersion.LabelTemplateVersionBuilder
- Enclosing class:
- LabelTemplateVersion
Helper class to allow for fluent creation of LabelTemplateVersion instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12creationDateTime(OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7lastChangeDateTime(OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7lastChangedByUser(String lastChangedByUser) Constraints: Not nullable, Maximum length: 12pcLblTemplate(LabelTemplate value) Navigation property _PCLblTemplate for LabelTemplateVersion to single LabelTemplate.pCLblTemplateID(String pCLblTemplateID) Constraints: Not nullable, Maximum length: 21pCLblTemplateSizeUoM(String pCLblTemplateSizeUoM) Constraints: Not nullable, Maximum length: 3pCLblTemplateVersion(Short pCLblTemplateVersion) Constraints: Not nullablepCLblTemplateVersionHeight(BigDecimal pCLblTemplateVersionHeight) Constraints: Not nullable, Precision: 6, Scale: 2pCLblTemplateVersionID(String pCLblTemplateVersionID) (Key Field) Constraints: Not nullable, Maximum length: 21pCLblTemplateVersionStatus(String pCLblTemplateVersionStatus) Constraints: Not nullable, Maximum length: 1pCLblTemplateVersionWidth(BigDecimal pCLblTemplateVersionWidth) Constraints: Not nullable, Precision: 6, Scale: 2Navigation property _PCLblTmplVersUsdFldVersion for LabelTemplateVersion to multiple LabelTemplateVersUsedFieldVers.toString()
-
Method Details
-
pcLblTemplate
Navigation property _PCLblTemplate for LabelTemplateVersion to single LabelTemplate.- Parameters:
value- The LabelTemplate to build this LabelTemplateVersion with.- Returns:
- This Builder to allow for a fluent interface.
-
pcLblTmplVersUsdFldVersion
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pcLblTmplVersUsdFldVersion(LabelTemplateVersUsedFieldVers... value) Navigation property _PCLblTmplVersUsdFldVersion for LabelTemplateVersion to multiple LabelTemplateVersUsedFieldVers.- Parameters:
value- The LabelTemplateVersUsedFieldVerss to build this LabelTemplateVersion with.- Returns:
- This Builder to allow for a fluent interface.
-
pCLblTemplateVersionID
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateVersionID(@Nullable String pCLblTemplateVersionID) (Key Field) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateVersionID
- Returns:
this.
-
pCLblTemplateID
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateID(@Nullable String pCLblTemplateID) Constraints: Not nullable, Maximum length: 21Original property name from the Odata EDM: PCLblTemplateID
- Returns:
this.
-
pCLblTemplateVersion
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateVersion(@Nullable Short pCLblTemplateVersion) Constraints: Not nullableOriginal property name from the Odata EDM: PCLblTemplateVersion
- Returns:
this.
-
pCLblTemplateVersionStatus
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateVersionStatus(@Nullable String pCLblTemplateVersionStatus) Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PCLblTemplateVersionStatus
- Returns:
this.
-
pCLblTemplateVersionWidth
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateVersionWidth(@Nullable BigDecimal pCLblTemplateVersionWidth) Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionWidth
- Returns:
this.
-
pCLblTemplateVersionHeight
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateVersionHeight(@Nullable BigDecimal pCLblTemplateVersionHeight) Constraints: Not nullable, Precision: 6, Scale: 2Original property name from the Odata EDM: PCLblTemplateVersionHeight
- Returns:
this.
-
pCLblTemplateSizeUoM
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder pCLblTemplateSizeUoM(@Nullable String pCLblTemplateSizeUoM) Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PCLblTemplateSizeUoM
- Returns:
this.
-
creationDateTime
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder creationDateTime(@Nullable OffsetDateTime creationDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: CreationDateTime
- Returns:
this.
-
createdByUser
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder createdByUser(@Nullable String createdByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
this.
-
lastChangeDateTime
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder lastChangeDateTime(@Nullable OffsetDateTime lastChangeDateTime) Constraints: Nullable, Precision: 7Original property name from the Odata EDM: LastChangeDateTime
- Returns:
this.
-
lastChangedByUser
@Nonnull public LabelTemplateVersion.LabelTemplateVersionBuilder lastChangedByUser(@Nullable String lastChangedByUser) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: LastChangedByUser
- Returns:
this.
-
build
-
toString
-