Interface ModelMapping.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModelMapping.Builder,,ModelMapping> SdkBuilder<ModelMapping.Builder,,ModelMapping> SdkPojo
- Enclosing class:
ModelMapping
@Mutable
@NotThreadSafe
public static interface ModelMapping.Builder
extends SdkPojo, CopyableBuilder<ModelMapping.Builder,ModelMapping>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ModelMapping.BuilderproviderPrefix(Consumer<ProviderPrefix.Builder> providerPrefix) The provider prefix configuration used for model ID translation.providerPrefix(ProviderPrefix providerPrefix) The provider prefix configuration used for model ID translation.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
-
providerPrefix
The provider prefix configuration used for model ID translation.
- Parameters:
providerPrefix- The provider prefix configuration used for model ID translation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
providerPrefix
The provider prefix configuration used for model ID translation.
This is a convenience method that creates an instance of theProviderPrefix.Builderavoiding the need to create one manually viaProviderPrefix.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproviderPrefix(ProviderPrefix).- Parameters:
providerPrefix- a consumer that will call methods onProviderPrefix.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-