Interface TypeConverter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TypeConverter.Builder,,TypeConverter> SdkBuilder<TypeConverter.Builder,,TypeConverter> SdkPojo
- Enclosing class:
- TypeConverter
@Mutable
@NotThreadSafe
public static interface TypeConverter.Builder
extends SdkPojo, CopyableBuilder<TypeConverter.Builder,TypeConverter>
-
Method Summary
Modifier and TypeMethodDescriptionentries(Collection<TypeConverterEntry> entries) An array ofTypeConverterEntryobjects, where each object contains the information about one field to change the type of.entries(Consumer<TypeConverterEntry.Builder>... entries) An array ofTypeConverterEntryobjects, where each object contains the information about one field to change the type of.entries(TypeConverterEntry... entries) An array ofTypeConverterEntryobjects, where each object contains the information about one field to change the type of.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
entries
An array of
TypeConverterEntryobjects, where each object contains the information about one field to change the type of.- Parameters:
entries- An array ofTypeConverterEntryobjects, where each object contains the information about one field to change the type of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of
TypeConverterEntryobjects, where each object contains the information about one field to change the type of.- Parameters:
entries- An array ofTypeConverterEntryobjects, where each object contains the information about one field to change the type of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
An array of
This is a convenience method that creates an instance of theTypeConverterEntryobjects, where each object contains the information about one field to change the type of.TypeConverterEntry.Builderavoiding the need to create one manually viaTypeConverterEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<TypeConverterEntry>).- Parameters:
entries- a consumer that will call methods onTypeConverterEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-