Interface FieldAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldAttributes.Builder,,FieldAttributes> SdkBuilder<FieldAttributes.Builder,,FieldAttributes> SdkPojo
- Enclosing class:
FieldAttributes
@Mutable
@NotThreadSafe
public static interface FieldAttributes.Builder
extends SdkPojo, CopyableBuilder<FieldAttributes.Builder,FieldAttributes>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FieldAttributes.Buildertext(Consumer<TextAttributes.Builder> text) Field attributes for Text field type.text(TextAttributes text) Field attributes for Text field type.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
-
text
Field attributes for Text field type.
- Parameters:
text- Field attributes for Text field type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
Field attributes for Text field type.
This is a convenience method that creates an instance of theTextAttributes.Builderavoiding the need to create one manually viaTextAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totext(TextAttributes).- Parameters:
text- a consumer that will call methods onTextAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-