public static class Attachment.CreateAttachmentBuilder extends Object
| Constructor and Description |
|---|
CreateAttachmentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
build()
Returns the list of cells.
|
AttachmentSubType |
getAttachmentSubType()
Gets the attachment sub type.
|
AttachmentType |
getAttachmentType()
Gets the attachment type.
|
String |
getDescription()
Gets the attachment description.
|
String |
getName()
Gets the name.
|
String |
getUrl()
Gets the URL.
|
Attachment.CreateAttachmentBuilder |
setAttachmentSubType(AttachmentSubType attachmentSubType)
Sets the attachment sub type.
|
Attachment.CreateAttachmentBuilder |
setAttachmentType(AttachmentType attachmentType)
Sets the attachment type.
|
Attachment.CreateAttachmentBuilder |
setDescription(String description)
Sets the attachment description.
|
Attachment.CreateAttachmentBuilder |
setName(String name)
Sets the name.
|
Attachment.CreateAttachmentBuilder |
setUrl(String url)
Sets the URL.
|
public String getName()
public Attachment.CreateAttachmentBuilder setName(String name)
name - the new namepublic String getUrl()
public Attachment.CreateAttachmentBuilder setUrl(String url)
url - the new urlpublic AttachmentType getAttachmentType()
public Attachment.CreateAttachmentBuilder setAttachmentType(AttachmentType attachmentType)
attachmentType - the new attachment typepublic AttachmentSubType getAttachmentSubType()
public Attachment.CreateAttachmentBuilder setAttachmentSubType(AttachmentSubType attachmentSubType)
attachmentSubType - the new attachment sub typepublic String getDescription()
public Attachment.CreateAttachmentBuilder setDescription(String description)
description - the descriptionpublic Attachment build()
Copyright © 2014–2019 Smartsheet. All rights reserved.