Interface DataSourceIntrospectionModelFieldType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceIntrospectionModelFieldType.Builder,DataSourceIntrospectionModelFieldType>,SdkBuilder<DataSourceIntrospectionModelFieldType.Builder,DataSourceIntrospectionModelFieldType>,SdkPojo
- Enclosing class:
- DataSourceIntrospectionModelFieldType
public static interface DataSourceIntrospectionModelFieldType.Builder extends SdkPojo, CopyableBuilder<DataSourceIntrospectionModelFieldType.Builder,DataSourceIntrospectionModelFieldType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataSourceIntrospectionModelFieldType.Builderkind(String kind)Specifies the classification of data.DataSourceIntrospectionModelFieldType.Buildername(String name)The name of the data type that represents the field.default DataSourceIntrospectionModelFieldType.Buildertype(Consumer<DataSourceIntrospectionModelFieldType.Builder> type)TheDataSourceIntrospectionModelFieldTypeobject data.DataSourceIntrospectionModelFieldType.Buildertype(DataSourceIntrospectionModelFieldType type)TheDataSourceIntrospectionModelFieldTypeobject data.DataSourceIntrospectionModelFieldType.Buildervalues(String... values)The values of thetypefield.DataSourceIntrospectionModelFieldType.Buildervalues(Collection<String> values)The values of thetypefield.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
kind
DataSourceIntrospectionModelFieldType.Builder kind(String kind)
Specifies the classification of data. For example, this could be set to values like
ScalarorNonNullto indicate a fundamental property of the field.Valid values include:
-
Scalar: Indicates the value is a primitive type (scalar). -
NonNull: Indicates the field cannot benull. -
List: Indicates the field contains a list.
- Parameters:
kind- Specifies the classification of data. For example, this could be set to values likeScalarorNonNullto indicate a fundamental property of the field.Valid values include:
-
Scalar: Indicates the value is a primitive type (scalar). -
NonNull: Indicates the field cannot benull. -
List: Indicates the field contains a list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
DataSourceIntrospectionModelFieldType.Builder name(String name)
The name of the data type that represents the field. For example,
Stringis a validnamevalue.- Parameters:
name- The name of the data type that represents the field. For example,Stringis a validnamevalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
DataSourceIntrospectionModelFieldType.Builder type(DataSourceIntrospectionModelFieldType type)
The
DataSourceIntrospectionModelFieldTypeobject data. Thetypeis only present ifDataSourceIntrospectionModelFieldType.kindis set toNonNullorList.The
typetypically contains its ownkindandnamefields to represent the actual type data. For instance,typecould contain akindvalue ofScalarwith anamevalue ofString. The valuesScalarandStringwill be collectively stored in thevaluesfield.- Parameters:
type- TheDataSourceIntrospectionModelFieldTypeobject data. Thetypeis only present ifDataSourceIntrospectionModelFieldType.kindis set toNonNullorList.The
typetypically contains its ownkindandnamefields to represent the actual type data. For instance,typecould contain akindvalue ofScalarwith anamevalue ofString. The valuesScalarandStringwill be collectively stored in thevaluesfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
default DataSourceIntrospectionModelFieldType.Builder type(Consumer<DataSourceIntrospectionModelFieldType.Builder> type)
The
DataSourceIntrospectionModelFieldTypeobject data. Thetypeis only present ifDataSourceIntrospectionModelFieldType.kindis set toNonNullorList.The
This is a convenience method that creates an instance of thetypetypically contains its ownkindandnamefields to represent the actual type data. For instance,typecould contain akindvalue ofScalarwith anamevalue ofString. The valuesScalarandStringwill be collectively stored in thevaluesfield.DataSourceIntrospectionModelFieldType.Builderavoiding the need to create one manually viaDataSourceIntrospectionModelFieldType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totype(DataSourceIntrospectionModelFieldType).- Parameters:
type- a consumer that will call methods onDataSourceIntrospectionModelFieldType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
type(DataSourceIntrospectionModelFieldType)
-
values
DataSourceIntrospectionModelFieldType.Builder values(Collection<String> values)
The values of the
typefield. This field represents the AppSync data type equivalent of the introspected field.- Parameters:
values- The values of thetypefield. This field represents the AppSync data type equivalent of the introspected field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
DataSourceIntrospectionModelFieldType.Builder values(String... values)
The values of the
typefield. This field represents the AppSync data type equivalent of the introspected field.- Parameters:
values- The values of thetypefield. This field represents the AppSync data type equivalent of the introspected field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-