Interface PropertyMappingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PropertyMappingConfiguration.Builder,
,PropertyMappingConfiguration> SdkBuilder<PropertyMappingConfiguration.Builder,
,PropertyMappingConfiguration> SdkPojo
- Enclosing class:
PropertyMappingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncreateMissingProperty
(Boolean createMissingProperty) If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.matchByPropertyName
(Boolean matchByPropertyName) If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.overrides
(Collection<PropertyMapping> overrides) A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.overrides
(Consumer<PropertyMapping.Builder>... overrides) A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.overrides
(PropertyMapping... overrides) A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.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, sdkFieldNameToField, sdkFields
-
Method Details
-
matchByPropertyName
If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.
- Parameters:
matchByPropertyName
- If true, properties are matched by name between the interface asset model and the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createMissingProperty
If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.
- Parameters:
createMissingProperty
- If true, missing properties from the interface asset model are automatically created in the asset model where the interface is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.
- Parameters:
overrides
- A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.
- Parameters:
overrides
- A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
A list of specific property mappings that override the automatic mapping by name when an interface is applied to an asset model.
This is a convenience method that creates an instance of thePropertyMapping.Builder
avoiding the need to create one manually viaPropertyMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooverrides(List<PropertyMapping>)
.- Parameters:
overrides
- a consumer that will call methods onPropertyMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-