@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the Q App, specifying the cards and flow.
Constructor and Description |
---|
AppDefinition() |
Modifier and Type | Method and Description |
---|---|
AppDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getAppDefinitionVersion()
The version of the app definition schema or specification.
|
Boolean |
getCanEdit()
A flag indicating whether the Q App's definition can be edited by the user.
|
List<Card> |
getCards()
The cards that make up the Q App, such as text input, file upload, or query cards.
|
int |
hashCode() |
Boolean |
isCanEdit()
A flag indicating whether the Q App's definition can be edited by the user.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAppDefinitionVersion(String appDefinitionVersion)
The version of the app definition schema or specification.
|
void |
setCanEdit(Boolean canEdit)
A flag indicating whether the Q App's definition can be edited by the user.
|
void |
setCards(Collection<Card> cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
|
String |
toString()
Returns a string representation of this object.
|
AppDefinition |
withAppDefinitionVersion(String appDefinitionVersion)
The version of the app definition schema or specification.
|
AppDefinition |
withCanEdit(Boolean canEdit)
A flag indicating whether the Q App's definition can be edited by the user.
|
AppDefinition |
withCards(Card... cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
|
AppDefinition |
withCards(Collection<Card> cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
|
public void setAppDefinitionVersion(String appDefinitionVersion)
The version of the app definition schema or specification.
appDefinitionVersion
- The version of the app definition schema or specification.public String getAppDefinitionVersion()
The version of the app definition schema or specification.
public AppDefinition withAppDefinitionVersion(String appDefinitionVersion)
The version of the app definition schema or specification.
appDefinitionVersion
- The version of the app definition schema or specification.public List<Card> getCards()
The cards that make up the Q App, such as text input, file upload, or query cards.
public void setCards(Collection<Card> cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
cards
- The cards that make up the Q App, such as text input, file upload, or query cards.public AppDefinition withCards(Card... cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
NOTE: This method appends the values to the existing list (if any). Use
setCards(java.util.Collection)
or withCards(java.util.Collection)
if you want to override the
existing values.
cards
- The cards that make up the Q App, such as text input, file upload, or query cards.public AppDefinition withCards(Collection<Card> cards)
The cards that make up the Q App, such as text input, file upload, or query cards.
cards
- The cards that make up the Q App, such as text input, file upload, or query cards.public void setCanEdit(Boolean canEdit)
A flag indicating whether the Q App's definition can be edited by the user.
canEdit
- A flag indicating whether the Q App's definition can be edited by the user.public Boolean getCanEdit()
A flag indicating whether the Q App's definition can be edited by the user.
public AppDefinition withCanEdit(Boolean canEdit)
A flag indicating whether the Q App's definition can be edited by the user.
canEdit
- A flag indicating whether the Q App's definition can be edited by the user.public Boolean isCanEdit()
A flag indicating whether the Q App's definition can be edited by the user.
public String toString()
toString
in class Object
Object.toString()
public AppDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.