public class LinkedResource extends AttachmentBase
Constructor and Description |
---|
LinkedResource() |
LinkedResource(String base64Data,
String contentId,
ContentType contentType,
Map<String,String> headers,
String contentLink)
Initializes a new instance of the LinkedResource
|
Modifier and Type | Method and Description |
---|---|
LinkedResource |
contentLink(String contentLink)
Set contentLink and return this.
|
boolean |
equals(Object o) |
String |
getContentLink()
URI that the resource must match.
|
int |
hashCode() |
void |
setContentLink(String contentLink)
Set contentLink.
|
String |
toString() |
base64Data, contentId, contentType, getBase64Data, getContentId, getContentType, getHeaders, headers, putHeadersItem, setBase64Data, setContentId, setContentType, setHeaders
public LinkedResource()
public LinkedResource(String base64Data, String contentId, ContentType contentType, Map<String,String> headers, String contentLink)
base64Data
- Attachment file content as Base64 string.contentId
- Attachment content idcontentType
- Content typeheaders
- Attachment headers.contentLink
- URI that the resource must match.public LinkedResource contentLink(String contentLink)
contentLink
- URI that the resource must match.public String getContentLink()
public void setContentLink(String contentLink)
contentLink
- URI that the resource must match.public boolean equals(Object o)
equals
in class AttachmentBase
public int hashCode()
hashCode
in class AttachmentBase
public String toString()
toString
in class AttachmentBase
Copyright © 2020. All rights reserved.