@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FormDataTypeConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes the data type configuration for the data source associated with a form.
Constructor and Description |
---|
FormDataTypeConfig() |
Modifier and Type | Method and Description |
---|---|
FormDataTypeConfig |
clone() |
boolean |
equals(Object obj) |
String |
getDataSourceType()
The data source type, either an Amplify DataStore model or a custom data type.
|
String |
getDataTypeName()
The unique name of the data type you are using as the data source for the form.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSourceType(String dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
|
void |
setDataTypeName(String dataTypeName)
The unique name of the data type you are using as the data source for the form.
|
String |
toString()
Returns a string representation of this object.
|
FormDataTypeConfig |
withDataSourceType(FormDataSourceType dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
|
FormDataTypeConfig |
withDataSourceType(String dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
|
FormDataTypeConfig |
withDataTypeName(String dataTypeName)
The unique name of the data type you are using as the data source for the form.
|
public void setDataSourceType(String dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
dataSourceType
- The data source type, either an Amplify DataStore model or a custom data type.FormDataSourceType
public String getDataSourceType()
The data source type, either an Amplify DataStore model or a custom data type.
FormDataSourceType
public FormDataTypeConfig withDataSourceType(String dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
dataSourceType
- The data source type, either an Amplify DataStore model or a custom data type.FormDataSourceType
public FormDataTypeConfig withDataSourceType(FormDataSourceType dataSourceType)
The data source type, either an Amplify DataStore model or a custom data type.
dataSourceType
- The data source type, either an Amplify DataStore model or a custom data type.FormDataSourceType
public void setDataTypeName(String dataTypeName)
The unique name of the data type you are using as the data source for the form.
dataTypeName
- The unique name of the data type you are using as the data source for the form.public String getDataTypeName()
The unique name of the data type you are using as the data source for the form.
public FormDataTypeConfig withDataTypeName(String dataTypeName)
The unique name of the data type you are using as the data source for the form.
dataTypeName
- The unique name of the data type you are using as the data source for the form.public String toString()
toString
in class Object
Object.toString()
public FormDataTypeConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.