Class ChatKitAttachment.Builder
- 
                    
                    - All Implemented Interfaces:
 
 public final class ChatKitAttachment.BuilderA builder for ChatKitAttachment. 
- 
                
                    
                    - 
                                
                            
                                Method Summary- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        idfinal ChatKitAttachment.Builder id(String id) Identifier for the attachment. 
 - 
                                        idfinal ChatKitAttachment.Builder id(JsonField<String> id) Sets Builder.id to an arbitrary JSON value. You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        mimeTypefinal ChatKitAttachment.Builder mimeType(String mimeType) MIME type of the attachment. 
 - 
                                        mimeTypefinal ChatKitAttachment.Builder mimeType(JsonField<String> mimeType) Sets Builder.mimeType to an arbitrary JSON value. You should usually call Builder.mimeType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        namefinal ChatKitAttachment.Builder name(String name) Original display name for the attachment. 
 - 
                                        namefinal ChatKitAttachment.Builder name(JsonField<String> name) Sets Builder.name to an arbitrary JSON value. You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        previewUrlfinal ChatKitAttachment.Builder previewUrl(String previewUrl) Preview URL for rendering the attachment inline. 
 - 
                                        previewUrlfinal ChatKitAttachment.Builder previewUrl(Optional<String> previewUrl) Alias for calling Builder.previewUrl with previewUrl.orElse(null).
 - 
                                        previewUrlfinal ChatKitAttachment.Builder previewUrl(JsonField<String> previewUrl) Sets Builder.previewUrl to an arbitrary JSON value. You should usually call Builder.previewUrl with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        typefinal ChatKitAttachment.Builder type(ChatKitAttachment.Type type) Attachment discriminator. 
 - 
                                        typefinal ChatKitAttachment.Builder type(JsonField<ChatKitAttachment.Type> type) Sets Builder.type to an arbitrary JSON value. You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value. 
 - 
                                        additionalPropertiesfinal ChatKitAttachment.Builder additionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        putAdditionalPropertyfinal ChatKitAttachment.Builder putAdditionalProperty(String key, JsonValue value) 
 - 
                                        putAllAdditionalPropertiesfinal ChatKitAttachment.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties) 
 - 
                                        removeAdditionalPropertyfinal ChatKitAttachment.Builder removeAdditionalProperty(String key) 
 - 
                                        removeAllAdditionalPropertiesfinal ChatKitAttachment.Builder removeAllAdditionalProperties(Set<String> keys) 
 - 
                                        buildfinal ChatKitAttachment build() Returns an immutable instance of ChatKitAttachment. Further updates to this Builder will not mutate the returned instance. The following fields are required: .id() .mimeType() .name() .previewUrl() .type()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-