Class AttachmentContent.AttachmentContentBuilder

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.attachment.AttachmentContent.AttachmentContentBuilder
Enclosing class:
AttachmentContent

public static class AttachmentContent.AttachmentContentBuilder extends Object
  • Method Details

    • documentInfoRecordDocType

      @Nonnull public AttachmentContent.AttachmentContentBuilder documentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocType

      Returns:
      this.
    • documentInfoRecordDocNumber

      @Nonnull public AttachmentContent.AttachmentContentBuilder documentInfoRecordDocNumber(@Nullable String documentInfoRecordDocNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocumentInfoRecordDocNumber

      Returns:
      this.
    • documentInfoRecordDocVersion

      @Nonnull public AttachmentContent.AttachmentContentBuilder documentInfoRecordDocVersion(@Nullable String documentInfoRecordDocVersion)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentInfoRecordDocVersion

      Returns:
      this.
    • documentInfoRecordDocPart

      @Nonnull public AttachmentContent.AttachmentContentBuilder documentInfoRecordDocPart(@Nullable String documentInfoRecordDocPart)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocPart

      Returns:
      this.
    • logicalDocument

      @Nonnull public AttachmentContent.AttachmentContentBuilder logicalDocument(@Nullable String logicalDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 32

      Original property name from the Odata EDM: LogicalDocument

      Returns:
      this.
    • archiveDocumentID

      @Nonnull public AttachmentContent.AttachmentContentBuilder archiveDocumentID(@Nullable String archiveDocumentID)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: ArchiveDocumentID

      Returns:
      this.
    • linkedSAPObjectKey

      @Nonnull public AttachmentContent.AttachmentContentBuilder linkedSAPObjectKey(@Nullable String linkedSAPObjectKey)
      (Key Field) Constraints: Not nullable, Maximum length: 90

      Original property name from the Odata EDM: LinkedSAPObjectKey

      Returns:
      this.
    • businessObjectTypeName

      @Nonnull public AttachmentContent.AttachmentContentBuilder businessObjectTypeName(@Nullable String businessObjectTypeName)
      (Key Field) Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessObjectTypeName

      Returns:
      this.
    • semanticObject

      @Nonnull public AttachmentContent.AttachmentContentBuilder semanticObject(@Nullable String semanticObject)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: SemanticObject

      Returns:
      this.
    • workstationApplication

      @Nonnull public AttachmentContent.AttachmentContentBuilder workstationApplication(@Nullable String workstationApplication)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: WorkstationApplication

      Returns:
      this.
    • fileSize

      @Nonnull public AttachmentContent.AttachmentContentBuilder fileSize(@Nullable String fileSize)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: FileSize

      Returns:
      this.
    • fileName

      @Nonnull public AttachmentContent.AttachmentContentBuilder fileName(@Nullable String fileName)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: FileName

      Returns:
      this.
    • documentURL

      @Nonnull public AttachmentContent.AttachmentContentBuilder documentURL(@Nullable String documentURL)
      Constraints: Not nullable, Maximum length: 4096

      Original property name from the Odata EDM: DocumentURL

      Returns:
      this.
    • mimeType

      @Nonnull public AttachmentContent.AttachmentContentBuilder mimeType(@Nullable String mimeType)
      Constraints: Not nullable, Maximum length: 128

      Original property name from the Odata EDM: MimeType

      Returns:
      this.
    • content

      @Nonnull public AttachmentContent.AttachmentContentBuilder content(@Nullable byte[] content)
      Constraints: none

      Original property name from the Odata EDM: Content

      Returns:
      this.
    • createdByUser

      @Nonnull public AttachmentContent.AttachmentContentBuilder createdByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      this.
    • createdByUserFullName

      @Nonnull public AttachmentContent.AttachmentContentBuilder createdByUserFullName(@Nullable String createdByUserFullName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: CreatedByUserFullName

      Returns:
      this.
    • creationDateTime

      @Nonnull public AttachmentContent.AttachmentContentBuilder creationDateTime(@Nullable LocalDateTime creationDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      this.
    • businessObjectType

      @Nonnull public AttachmentContent.AttachmentContentBuilder businessObjectType(@Nullable String businessObjectType)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: BusinessObjectType

      Returns:
      this.
    • lastChangedByUser

      @Nonnull public AttachmentContent.AttachmentContentBuilder lastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      this.
    • lastChangedByUserFullName

      @Nonnull public AttachmentContent.AttachmentContentBuilder lastChangedByUserFullName(@Nullable String lastChangedByUserFullName)
      Constraints: Not nullable, Maximum length: 80

      Original property name from the Odata EDM: LastChangedByUserFullName

      Returns:
      this.
    • changedDateTime

      @Nonnull public AttachmentContent.AttachmentContentBuilder changedDateTime(@Nullable LocalDateTime changedDateTime)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: ChangedDateTime

      Returns:
      this.
    • storageCategory

      @Nonnull public AttachmentContent.AttachmentContentBuilder storageCategory(@Nullable String storageCategory)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: StorageCategory

      Returns:
      this.
    • archiveLinkRepository

      @Nonnull public AttachmentContent.AttachmentContentBuilder archiveLinkRepository(@Nullable String archiveLinkRepository)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ArchiveLinkRepository

      Returns:
      this.
    • sAPObjectType

      @Nonnull public AttachmentContent.AttachmentContentBuilder sAPObjectType(@Nullable String sAPObjectType)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectType

      Returns:
      this.
    • sAPObjectNodeType

      @Nonnull public AttachmentContent.AttachmentContentBuilder sAPObjectNodeType(@Nullable String sAPObjectNodeType)
      Constraints: Not nullable, Maximum length: 30

      Original property name from the Odata EDM: SAPObjectNodeType

      Returns:
      this.
    • harmonizedDocumentType

      @Nonnull public AttachmentContent.AttachmentContentBuilder harmonizedDocumentType(@Nullable String harmonizedDocumentType)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: HarmonizedDocumentType

      Returns:
      this.
    • attachmentDeletionIsAllowed

      @Nonnull public AttachmentContent.AttachmentContentBuilder attachmentDeletionIsAllowed(@Nullable Boolean attachmentDeletionIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: AttachmentDeletionIsAllowed

      Returns:
      this.
    • attachmentRenameIsAllowed

      @Nonnull public AttachmentContent.AttachmentContentBuilder attachmentRenameIsAllowed(@Nullable Boolean attachmentRenameIsAllowed)
      Constraints: none

      Original property name from the Odata EDM: AttachmentRenameIsAllowed

      Returns:
      this.
    • source

      @Nonnull public AttachmentContent.AttachmentContentBuilder source(@Nullable String source)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: Source

      Returns:
      this.
    • attachmentContentHash

      @Nonnull public AttachmentContent.AttachmentContentBuilder attachmentContentHash(@Nullable String attachmentContentHash)
      Constraints: Not nullable, Maximum length: 255

      Original property name from the Odata EDM: AttachmentContentHash

      Returns:
      this.
    • build

      @Nonnull public AttachmentContent build()
    • toString

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