public static final class ReferenceAttachment.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
ReferenceAttachment |
build() |
ReferenceAttachment.Builder |
contentType(String contentType) |
ReferenceAttachment.Builder |
id(String id) |
ReferenceAttachment.Builder |
isFolder(Boolean isFolder) |
ReferenceAttachment.Builder |
isInline(Boolean isInline) |
ReferenceAttachment.Builder |
lastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
ReferenceAttachment.Builder |
name(String name) |
ReferenceAttachment.Builder |
permission(ReferenceAttachmentPermission permission) |
ReferenceAttachment.Builder |
previewUrl(String previewUrl)
Org.OData.Core.V1.IsURL
|
ReferenceAttachment.Builder |
providerType(ReferenceAttachmentProvider providerType) |
ReferenceAttachment.Builder |
size(Integer size) |
ReferenceAttachment.Builder |
sourceUrl(String sourceUrl)
Org.OData.Core.V1.IsURL
|
ReferenceAttachment.Builder |
thumbnailUrl(String thumbnailUrl)
Org.OData.Core.V1.IsURL
|
public ReferenceAttachment.Builder id(String id)
public ReferenceAttachment.Builder lastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public ReferenceAttachment.Builder name(String name)
public ReferenceAttachment.Builder contentType(String contentType)
public ReferenceAttachment.Builder size(Integer size)
public ReferenceAttachment.Builder isInline(Boolean isInline)
public ReferenceAttachment.Builder sourceUrl(String sourceUrl)
Org.OData.Core.V1.IsURL
true
sourceUrl - value of sourceUrl property (as defined in service metadata)this (for method chaining)public ReferenceAttachment.Builder providerType(ReferenceAttachmentProvider providerType)
public ReferenceAttachment.Builder thumbnailUrl(String thumbnailUrl)
Org.OData.Core.V1.IsURL
true
thumbnailUrl - value of thumbnailUrl property (as defined in service metadata)this (for method chaining)public ReferenceAttachment.Builder previewUrl(String previewUrl)
Org.OData.Core.V1.IsURL
true
previewUrl - value of previewUrl property (as defined in service metadata)this (for method chaining)public ReferenceAttachment.Builder permission(ReferenceAttachmentPermission permission)
public ReferenceAttachment.Builder isFolder(Boolean isFolder)
public ReferenceAttachment build()
Copyright © 2018–2020. All rights reserved.