@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataSourceIntrospectionModelFieldType extends Object implements Serializable, Cloneable, StructuredPojo
Represents the type data for each field retrieved from the introspection.
Constructor and Description |
---|
DataSourceIntrospectionModelFieldType() |
Modifier and Type | Method and Description |
---|---|
DataSourceIntrospectionModelFieldType |
clone() |
boolean |
equals(Object obj) |
String |
getKind()
Specifies the classification of data.
|
String |
getName()
The name of the data type that represents the field.
|
DataSourceIntrospectionModelFieldType |
getType()
The
DataSourceIntrospectionModelFieldType object data. |
List<String> |
getValues()
The values of the
type field. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKind(String kind)
Specifies the classification of data.
|
void |
setName(String name)
The name of the data type that represents the field.
|
void |
setType(DataSourceIntrospectionModelFieldType type)
The
DataSourceIntrospectionModelFieldType object data. |
void |
setValues(Collection<String> values)
The values of the
type field. |
String |
toString()
Returns a string representation of this object.
|
DataSourceIntrospectionModelFieldType |
withKind(String kind)
Specifies the classification of data.
|
DataSourceIntrospectionModelFieldType |
withName(String name)
The name of the data type that represents the field.
|
DataSourceIntrospectionModelFieldType |
withType(DataSourceIntrospectionModelFieldType type)
The
DataSourceIntrospectionModelFieldType object data. |
DataSourceIntrospectionModelFieldType |
withValues(Collection<String> values)
The values of the
type field. |
DataSourceIntrospectionModelFieldType |
withValues(String... values)
The values of the
type field. |
public DataSourceIntrospectionModelFieldType()
public void setKind(String kind)
Specifies the classification of data. For example, this could be set to values like Scalar
or
NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
kind
- Specifies the classification of data. For example, this could be set to values like Scalar
or
NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
public String getKind()
Specifies the classification of data. For example, this could be set to values like Scalar
or
NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
Scalar
or NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
public DataSourceIntrospectionModelFieldType withKind(String kind)
Specifies the classification of data. For example, this could be set to values like Scalar
or
NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
kind
- Specifies the classification of data. For example, this could be set to values like Scalar
or
NonNull
to indicate a fundamental property of the field.
Valid values include:
Scalar
: Indicates the value is a primitive type (scalar).
NonNull
: Indicates the field cannot be null
.
List
: Indicates the field contains a list.
public void setName(String name)
The name of the data type that represents the field. For example, String
is a valid
name
value.
name
- The name of the data type that represents the field. For example, String
is a valid
name
value.public String getName()
The name of the data type that represents the field. For example, String
is a valid
name
value.
String
is a valid
name
value.public DataSourceIntrospectionModelFieldType withName(String name)
The name of the data type that represents the field. For example, String
is a valid
name
value.
name
- The name of the data type that represents the field. For example, String
is a valid
name
value.public void setType(DataSourceIntrospectionModelFieldType type)
The DataSourceIntrospectionModelFieldType
object data. The type
is only present if
DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or List
.
The type
typically contains its own kind
and name
fields to represent the
actual type data. For instance, type
could contain a kind
value of Scalar
with a name
value of String
. The values Scalar
and String
will be collectively stored in the values
field.
type
- The DataSourceIntrospectionModelFieldType
object data. The type
is only present
if DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or
List
.
The type
typically contains its own kind
and name
fields to
represent the actual type data. For instance, type
could contain a kind
value of
Scalar
with a name
value of String
. The values Scalar
and String
will be collectively stored in the values
field.
public DataSourceIntrospectionModelFieldType getType()
The DataSourceIntrospectionModelFieldType
object data. The type
is only present if
DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or List
.
The type
typically contains its own kind
and name
fields to represent the
actual type data. For instance, type
could contain a kind
value of Scalar
with a name
value of String
. The values Scalar
and String
will be collectively stored in the values
field.
DataSourceIntrospectionModelFieldType
object data. The type
is only present
if DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or
List
.
The type
typically contains its own kind
and name
fields to
represent the actual type data. For instance, type
could contain a kind
value
of Scalar
with a name
value of String
. The values
Scalar
and String
will be collectively stored in the values
field.
public DataSourceIntrospectionModelFieldType withType(DataSourceIntrospectionModelFieldType type)
The DataSourceIntrospectionModelFieldType
object data. The type
is only present if
DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or List
.
The type
typically contains its own kind
and name
fields to represent the
actual type data. For instance, type
could contain a kind
value of Scalar
with a name
value of String
. The values Scalar
and String
will be collectively stored in the values
field.
type
- The DataSourceIntrospectionModelFieldType
object data. The type
is only present
if DataSourceIntrospectionModelFieldType.kind
is set to NonNull
or
List
.
The type
typically contains its own kind
and name
fields to
represent the actual type data. For instance, type
could contain a kind
value of
Scalar
with a name
value of String
. The values Scalar
and String
will be collectively stored in the values
field.
public List<String> getValues()
The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.
type
field. This field represents the AppSync data type equivalent of the
introspected field.public void setValues(Collection<String> values)
The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.
values
- The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.public DataSourceIntrospectionModelFieldType withValues(String... values)
The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.public DataSourceIntrospectionModelFieldType withValues(Collection<String> values)
The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.
values
- The values of the type
field. This field represents the AppSync data type equivalent of the
introspected field.public String toString()
toString
in class Object
Object.toString()
public DataSourceIntrospectionModelFieldType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.