Package com.intercom.api.types
Class ConversationAttachmentFiles.Builder
- java.lang.Object
-
- com.intercom.api.types.ConversationAttachmentFiles.Builder
-
- All Implemented Interfaces:
ConversationAttachmentFiles._FinalStage,ConversationAttachmentFiles.ContentTypeStage,ConversationAttachmentFiles.DataStage,ConversationAttachmentFiles.NameStage
- Enclosing class:
- ConversationAttachmentFiles
public static final class ConversationAttachmentFiles.Builder extends java.lang.Object implements ConversationAttachmentFiles.ContentTypeStage, ConversationAttachmentFiles.DataStage, ConversationAttachmentFiles.NameStage, ConversationAttachmentFiles._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversationAttachmentFilesbuild()ConversationAttachmentFiles.DataStagecontentType(java.lang.String contentType)The content type of the fileConversationAttachmentFiles.NameStagedata(java.lang.String data)The base64 encoded file data.ConversationAttachmentFiles.Builderfrom(ConversationAttachmentFiles other)ConversationAttachmentFiles._FinalStagename(java.lang.String name)The name of the file.
-
-
-
Method Detail
-
from
public ConversationAttachmentFiles.Builder from(ConversationAttachmentFiles other)
- Specified by:
fromin interfaceConversationAttachmentFiles.ContentTypeStage
-
contentType
public ConversationAttachmentFiles.DataStage contentType(@NotNull java.lang.String contentType)
The content type of the fileThe content type of the file
- Specified by:
contentTypein interfaceConversationAttachmentFiles.ContentTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public ConversationAttachmentFiles.NameStage data(@NotNull java.lang.String data)
The base64 encoded file data.The base64 encoded file data.
- Specified by:
datain interfaceConversationAttachmentFiles.DataStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public ConversationAttachmentFiles._FinalStage name(@NotNull java.lang.String name)
The name of the file.The name of the file.
- Specified by:
namein interfaceConversationAttachmentFiles.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public ConversationAttachmentFiles build()
- Specified by:
buildin interfaceConversationAttachmentFiles._FinalStage
-
-