@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FileUploadCard extends Object implements Serializable, Cloneable, StructuredPojo
A card in an Amazon Q App that allows the user to upload a file.
| Constructor and Description | 
|---|
| FileUploadCard() | 
| Modifier and Type | Method and Description | 
|---|---|
| FileUploadCard | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getAllowOverride()
 A flag indicating if the user can override the default file for the upload card. | 
| List<String> | getDependencies()
 Any dependencies or requirements for the file upload card. | 
| String | getFileId()
 The unique identifier of the file associated with the card. | 
| String | getFilename()
 The name of the file being uploaded. | 
| String | getId()
 The unique identifier of the file upload card. | 
| String | getTitle()
 The title of the file upload card. | 
| String | getType()
 The type of the card. | 
| int | hashCode() | 
| Boolean | isAllowOverride()
 A flag indicating if the user can override the default file for the upload card. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAllowOverride(Boolean allowOverride)
 A flag indicating if the user can override the default file for the upload card. | 
| void | setDependencies(Collection<String> dependencies)
 Any dependencies or requirements for the file upload card. | 
| void | setFileId(String fileId)
 The unique identifier of the file associated with the card. | 
| void | setFilename(String filename)
 The name of the file being uploaded. | 
| void | setId(String id)
 The unique identifier of the file upload card. | 
| void | setTitle(String title)
 The title of the file upload card. | 
| void | setType(String type)
 The type of the card. | 
| String | toString()Returns a string representation of this object. | 
| FileUploadCard | withAllowOverride(Boolean allowOverride)
 A flag indicating if the user can override the default file for the upload card. | 
| FileUploadCard | withDependencies(Collection<String> dependencies)
 Any dependencies or requirements for the file upload card. | 
| FileUploadCard | withDependencies(String... dependencies)
 Any dependencies or requirements for the file upload card. | 
| FileUploadCard | withFileId(String fileId)
 The unique identifier of the file associated with the card. | 
| FileUploadCard | withFilename(String filename)
 The name of the file being uploaded. | 
| FileUploadCard | withId(String id)
 The unique identifier of the file upload card. | 
| FileUploadCard | withTitle(String title)
 The title of the file upload card. | 
| FileUploadCard | withType(CardType type)
 The type of the card. | 
| FileUploadCard | withType(String type)
 The type of the card. | 
public void setId(String id)
The unique identifier of the file upload card.
id - The unique identifier of the file upload card.public String getId()
The unique identifier of the file upload card.
public FileUploadCard withId(String id)
The unique identifier of the file upload card.
id - The unique identifier of the file upload card.public void setTitle(String title)
The title of the file upload card.
title - The title of the file upload card.public String getTitle()
The title of the file upload card.
public FileUploadCard withTitle(String title)
The title of the file upload card.
title - The title of the file upload card.public List<String> getDependencies()
Any dependencies or requirements for the file upload card.
public void setDependencies(Collection<String> dependencies)
Any dependencies or requirements for the file upload card.
dependencies - Any dependencies or requirements for the file upload card.public FileUploadCard withDependencies(String... dependencies)
Any dependencies or requirements for the file upload card.
 NOTE: This method appends the values to the existing list (if any). Use
 setDependencies(java.util.Collection) or withDependencies(java.util.Collection) if you want to
 override the existing values.
 
dependencies - Any dependencies or requirements for the file upload card.public FileUploadCard withDependencies(Collection<String> dependencies)
Any dependencies or requirements for the file upload card.
dependencies - Any dependencies or requirements for the file upload card.public void setType(String type)
The type of the card.
type - The type of the card.CardTypepublic String getType()
The type of the card.
CardTypepublic FileUploadCard withType(String type)
The type of the card.
type - The type of the card.CardTypepublic FileUploadCard withType(CardType type)
The type of the card.
type - The type of the card.CardTypepublic void setFilename(String filename)
The name of the file being uploaded.
filename - The name of the file being uploaded.public String getFilename()
The name of the file being uploaded.
public FileUploadCard withFilename(String filename)
The name of the file being uploaded.
filename - The name of the file being uploaded.public void setFileId(String fileId)
The unique identifier of the file associated with the card.
fileId - The unique identifier of the file associated with the card.public String getFileId()
The unique identifier of the file associated with the card.
public FileUploadCard withFileId(String fileId)
The unique identifier of the file associated with the card.
fileId - The unique identifier of the file associated with the card.public void setAllowOverride(Boolean allowOverride)
A flag indicating if the user can override the default file for the upload card.
allowOverride - A flag indicating if the user can override the default file for the upload card.public Boolean getAllowOverride()
A flag indicating if the user can override the default file for the upload card.
public FileUploadCard withAllowOverride(Boolean allowOverride)
A flag indicating if the user can override the default file for the upload card.
allowOverride - A flag indicating if the user can override the default file for the upload card.public Boolean isAllowOverride()
A flag indicating if the user can override the default file for the upload card.
public String toString()
toString in class ObjectObject.toString()public FileUploadCard clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.