@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodegenGenericDataModel extends Object implements Serializable, Cloneable, StructuredPojo
Describes a model in a generic data schema.
| Constructor and Description |
|---|
CodegenGenericDataModel () |
| Modifier and Type | Method and Description |
|---|---|
CodegenGenericDataModel |
addFieldsEntry (String key,
CodegenGenericDataField value)
Add a single Fields entry
|
CodegenGenericDataModel |
clearFieldsEntries ()
Removes all the entries added into Fields.
|
CodegenGenericDataModel |
clone () |
boolean |
equals (Object obj) |
Map<String,CodegenGenericDataField> |
getFields ()
The fields in the generic data model.
|
Boolean |
getIsJoinTable ()
Specifies whether the generic data model is a join table.
|
List<String> |
getPrimaryKeys ()
The primary keys of the generic data model.
|
int |
hashCode () |
Boolean |
isJoinTable ()
Specifies whether the generic data model is a join table.
|
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFields (Map<String,CodegenGenericDataField> fields)
The fields in the generic data model.
|
void |
setIsJoinTable (Boolean isJoinTable)
Specifies whether the generic data model is a join table.
|
void |
setPrimaryKeys (Collection<String> primaryKeys)
The primary keys of the generic data model.
|
String |
toString ()
Returns a string representation of this object.
|
CodegenGenericDataModel |
withFields (Map<String,CodegenGenericDataField> fields)
The fields in the generic data model.
|
CodegenGenericDataModel |
withIsJoinTable (Boolean isJoinTable)
Specifies whether the generic data model is a join table.
|
CodegenGenericDataModel |
withPrimaryKeys (Collection<String> primaryKeys)
The primary keys of the generic data model.
|
CodegenGenericDataModel |
withPrimaryKeys (String... primaryKeys)
The primary keys of the generic data model.
|
public CodegenGenericDataModel()
public Map<String,CodegenGenericDataField> getFields()
The fields in the generic data model.
public void setFields(Map<String,CodegenGenericDataField> fields)
The fields in the generic data model.
fields - The fields in the generic data model.public CodegenGenericDataModel withFields(Map<String,CodegenGenericDataField> fields)
The fields in the generic data model.
fields - The fields in the generic data model.public CodegenGenericDataModel addFieldsEntry(String key, CodegenGenericDataField value)
public CodegenGenericDataModel clearFieldsEntries()
public void setIsJoinTable(Boolean isJoinTable)
Specifies whether the generic data model is a join table.
isJoinTable - Specifies whether the generic data model is a join table.public Boolean getIsJoinTable()
Specifies whether the generic data model is a join table.
public CodegenGenericDataModel withIsJoinTable(Boolean isJoinTable)
Specifies whether the generic data model is a join table.
isJoinTable - Specifies whether the generic data model is a join table.public Boolean isJoinTable()
Specifies whether the generic data model is a join table.
public List<String> getPrimaryKeys()
The primary keys of the generic data model.
public void setPrimaryKeys(Collection<String> primaryKeys)
The primary keys of the generic data model.
primaryKeys - The primary keys of the generic data model.public CodegenGenericDataModel withPrimaryKeys(String... primaryKeys)
The primary keys of the generic data model.
NOTE: This method appends the values to the existing list (if any). Use
setPrimaryKeys(java.util.Collection) or withPrimaryKeys(java.util.Collection) if you want to
override the existing values.
primaryKeys - The primary keys of the generic data model.public CodegenGenericDataModel withPrimaryKeys(Collection<String> primaryKeys)
The primary keys of the generic data model.
primaryKeys - The primary keys of the generic data model.public String toString()
toString in class Object Object.toString() public CodegenGenericDataModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.