Class EnhancedTypeDocumentConfiguration.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.EnhancedTypeDocumentConfiguration.Builder
- All Implemented Interfaces:
Buildable
,CopyableBuilder<EnhancedTypeDocumentConfiguration.Builder,
,EnhancedTypeDocumentConfiguration> SdkBuilder<EnhancedTypeDocumentConfiguration.Builder,
EnhancedTypeDocumentConfiguration>
- Enclosing class:
EnhancedTypeDocumentConfiguration
@NotThreadSafe
public static final class EnhancedTypeDocumentConfiguration.Builder
extends Object
implements CopyableBuilder<EnhancedTypeDocumentConfiguration.Builder,EnhancedTypeDocumentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
An immutable object that is created from the properties that have been set on the builder.ignoreNulls
(Boolean ignoreNulls) Specifies whether to ignore attributes with null values in the associatedEnhancedType
.preserveEmptyObject
(Boolean preserveEmptyObject) Specifies whether to initialize the associatedEnhancedType
as empty class when mapping it to a Java object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
preserveEmptyObject
Specifies whether to initialize the associatedEnhancedType
as empty class when mapping it to a Java object. By default, the value is false -
ignoreNulls
Specifies whether to ignore attributes with null values in the associatedEnhancedType
. By default, the value is false -
build
Description copied from interface:SdkBuilder
An immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<EnhancedTypeDocumentConfiguration.Builder,
EnhancedTypeDocumentConfiguration> - Returns:
- an instance of T
-