Package com.intercom.api.types
Class PartAttachment.Builder
java.lang.Object
com.intercom.api.types.PartAttachment.Builder
- All Implemented Interfaces:
PartAttachment._FinalStage,PartAttachment.ContentTypeStage,PartAttachment.FilesizeStage,PartAttachment.HeightStage,PartAttachment.NameStage,PartAttachment.TypeStage,PartAttachment.UrlStage,PartAttachment.WidthStage
- Enclosing class:
PartAttachment
public static final class PartAttachment.Builder
extends Object
implements PartAttachment.TypeStage, PartAttachment.NameStage, PartAttachment.UrlStage, PartAttachment.ContentTypeStage, PartAttachment.FilesizeStage, PartAttachment.WidthStage, PartAttachment.HeightStage, PartAttachment._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) The content type of the attachmentfilesize(int filesize) The size of the attachmentfrom(PartAttachment other) height(int height) The height of the attachmentThe name of the attachmentThe type of attachmentThe URL of the attachmentwidth(int width) The width of the attachment
-
Method Details
-
from
- Specified by:
fromin interfacePartAttachment.TypeStage
-
type
The type of attachment
- Specified by:
typein interfacePartAttachment.TypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the attachment
- Specified by:
namein interfacePartAttachment.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
url
The URL of the attachment
- Specified by:
urlin interfacePartAttachment.UrlStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contentType
The content type of the attachment
- Specified by:
contentTypein interfacePartAttachment.ContentTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
filesize
The size of the attachment
- Specified by:
filesizein interfacePartAttachment.FilesizeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
width
The width of the attachment
- Specified by:
widthin interfacePartAttachment.WidthStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
height
The height of the attachment
- Specified by:
heightin interfacePartAttachment.HeightStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
- Specified by:
buildin interfacePartAttachment._FinalStage
-