@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceIntrospectionModelIndex extends Object implements Serializable, Cloneable, StructuredPojo
The index that was retrieved from the introspected data.
| Constructor and Description |
|---|
DataSourceIntrospectionModelIndex() |
| Modifier and Type | Method and Description |
|---|---|
DataSourceIntrospectionModelIndex |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFields()
The fields of the index.
|
String |
getName()
The name of the index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFields(Collection<String> fields)
The fields of the index.
|
void |
setName(String name)
The name of the index.
|
String |
toString()
Returns a string representation of this object.
|
DataSourceIntrospectionModelIndex |
withFields(Collection<String> fields)
The fields of the index.
|
DataSourceIntrospectionModelIndex |
withFields(String... fields)
The fields of the index.
|
DataSourceIntrospectionModelIndex |
withName(String name)
The name of the index.
|
public void setName(String name)
The name of the index.
name - The name of the index.public String getName()
The name of the index.
public DataSourceIntrospectionModelIndex withName(String name)
The name of the index.
name - The name of the index.public List<String> getFields()
The fields of the index.
public void setFields(Collection<String> fields)
The fields of the index.
fields - The fields of the index.public DataSourceIntrospectionModelIndex withFields(String... fields)
The fields of the index.
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 fields of the index.public DataSourceIntrospectionModelIndex withFields(Collection<String> fields)
The fields of the index.
fields - The fields of the index.public String toString()
toString in class ObjectObject.toString()public DataSourceIntrospectionModelIndex clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.