@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceIntrospectionModel extends Object implements Serializable, Cloneable, StructuredPojo
Contains the introspected data that was retrieved from the data source.
| Constructor and Description | 
|---|
| DataSourceIntrospectionModel() | 
| Modifier and Type | Method and Description | 
|---|---|
| DataSourceIntrospectionModel | clone() | 
| boolean | equals(Object obj) | 
| List<DataSourceIntrospectionModelField> | getFields()
 The  DataSourceIntrospectionModelFieldobject data. | 
| List<DataSourceIntrospectionModelIndex> | getIndexes()
 The array of  DataSourceIntrospectionModelIndexobjects. | 
| String | getName()
 The name of the model. | 
| DataSourceIntrospectionModelIndex | getPrimaryKey()
 The primary key stored as a  DataSourceIntrospectionModelIndexobject. | 
| String | getSdl()
 Contains the output of the SDL that was generated from the introspected types. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setFields(Collection<DataSourceIntrospectionModelField> fields)
 The  DataSourceIntrospectionModelFieldobject data. | 
| void | setIndexes(Collection<DataSourceIntrospectionModelIndex> indexes)
 The array of  DataSourceIntrospectionModelIndexobjects. | 
| void | setName(String name)
 The name of the model. | 
| void | setPrimaryKey(DataSourceIntrospectionModelIndex primaryKey)
 The primary key stored as a  DataSourceIntrospectionModelIndexobject. | 
| void | setSdl(String sdl)
 Contains the output of the SDL that was generated from the introspected types. | 
| String | toString()Returns a string representation of this object. | 
| DataSourceIntrospectionModel | withFields(Collection<DataSourceIntrospectionModelField> fields)
 The  DataSourceIntrospectionModelFieldobject data. | 
| DataSourceIntrospectionModel | withFields(DataSourceIntrospectionModelField... fields)
 The  DataSourceIntrospectionModelFieldobject data. | 
| DataSourceIntrospectionModel | withIndexes(Collection<DataSourceIntrospectionModelIndex> indexes)
 The array of  DataSourceIntrospectionModelIndexobjects. | 
| DataSourceIntrospectionModel | withIndexes(DataSourceIntrospectionModelIndex... indexes)
 The array of  DataSourceIntrospectionModelIndexobjects. | 
| DataSourceIntrospectionModel | withName(String name)
 The name of the model. | 
| DataSourceIntrospectionModel | withPrimaryKey(DataSourceIntrospectionModelIndex primaryKey)
 The primary key stored as a  DataSourceIntrospectionModelIndexobject. | 
| DataSourceIntrospectionModel | withSdl(String sdl)
 Contains the output of the SDL that was generated from the introspected types. | 
public void setName(String name)
The name of the model. For example, this could be the name of a single table in a database.
name - The name of the model. For example, this could be the name of a single table in a database.public String getName()
The name of the model. For example, this could be the name of a single table in a database.
public DataSourceIntrospectionModel withName(String name)
The name of the model. For example, this could be the name of a single table in a database.
name - The name of the model. For example, this could be the name of a single table in a database.public List<DataSourceIntrospectionModelField> getFields()
 The DataSourceIntrospectionModelField object data.
 
DataSourceIntrospectionModelField object data.public void setFields(Collection<DataSourceIntrospectionModelField> fields)
 The DataSourceIntrospectionModelField object data.
 
fields - The DataSourceIntrospectionModelField object data.public DataSourceIntrospectionModel withFields(DataSourceIntrospectionModelField... fields)
 The DataSourceIntrospectionModelField object data.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setFields(java.util.Collection) or withFields(java.util.Collection) if you want to override the
 existing values.
 
fields - The DataSourceIntrospectionModelField object data.public DataSourceIntrospectionModel withFields(Collection<DataSourceIntrospectionModelField> fields)
 The DataSourceIntrospectionModelField object data.
 
fields - The DataSourceIntrospectionModelField object data.public void setPrimaryKey(DataSourceIntrospectionModelIndex primaryKey)
 The primary key stored as a DataSourceIntrospectionModelIndex object.
 
primaryKey - The primary key stored as a DataSourceIntrospectionModelIndex object.public DataSourceIntrospectionModelIndex getPrimaryKey()
 The primary key stored as a DataSourceIntrospectionModelIndex object.
 
DataSourceIntrospectionModelIndex object.public DataSourceIntrospectionModel withPrimaryKey(DataSourceIntrospectionModelIndex primaryKey)
 The primary key stored as a DataSourceIntrospectionModelIndex object.
 
primaryKey - The primary key stored as a DataSourceIntrospectionModelIndex object.public List<DataSourceIntrospectionModelIndex> getIndexes()
 The array of DataSourceIntrospectionModelIndex objects.
 
DataSourceIntrospectionModelIndex objects.public void setIndexes(Collection<DataSourceIntrospectionModelIndex> indexes)
 The array of DataSourceIntrospectionModelIndex objects.
 
indexes - The array of DataSourceIntrospectionModelIndex objects.public DataSourceIntrospectionModel withIndexes(DataSourceIntrospectionModelIndex... indexes)
 The array of DataSourceIntrospectionModelIndex objects.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setIndexes(java.util.Collection) or withIndexes(java.util.Collection) if you want to override
 the existing values.
 
indexes - The array of DataSourceIntrospectionModelIndex objects.public DataSourceIntrospectionModel withIndexes(Collection<DataSourceIntrospectionModelIndex> indexes)
 The array of DataSourceIntrospectionModelIndex objects.
 
indexes - The array of DataSourceIntrospectionModelIndex objects.public void setSdl(String sdl)
 Contains the output of the SDL that was generated from the introspected types. This is controlled by the
 includeModelsSDL parameter of the GetDataSourceIntrospection operation.
 
sdl - Contains the output of the SDL that was generated from the introspected types. This is controlled by the
        includeModelsSDL parameter of the GetDataSourceIntrospection operation.public String getSdl()
 Contains the output of the SDL that was generated from the introspected types. This is controlled by the
 includeModelsSDL parameter of the GetDataSourceIntrospection operation.
 
includeModelsSDL parameter of the GetDataSourceIntrospection operation.public DataSourceIntrospectionModel withSdl(String sdl)
 Contains the output of the SDL that was generated from the introspected types. This is controlled by the
 includeModelsSDL parameter of the GetDataSourceIntrospection operation.
 
sdl - Contains the output of the SDL that was generated from the introspected types. This is controlled by the
        includeModelsSDL parameter of the GetDataSourceIntrospection operation.public String toString()
toString in class ObjectObject.toString()public DataSourceIntrospectionModel clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.