Interface EntityConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EntityConfiguration.Builder,,EntityConfiguration> SdkBuilder<EntityConfiguration.Builder,,EntityConfiguration> SdkPojo
- Enclosing class:
EntityConfiguration
@Mutable
@NotThreadSafe
public static interface EntityConfiguration.Builder
extends SdkPojo, CopyableBuilder<EntityConfiguration.Builder,EntityConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionschema(Map<String, FieldDefinition> schema) The schema definition for this entity, including field names, types, and other metadata that describes the structure of the data.default EntityConfiguration.BuildersourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source configuration that defines how to make requests to access this entity's data through the REST API.sourceConfiguration(SourceConfiguration sourceConfiguration) The source configuration that defines how to make requests to access this entity's data through the REST API.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
-
sourceConfiguration
The source configuration that defines how to make requests to access this entity's data through the REST API.
- Parameters:
sourceConfiguration- The source configuration that defines how to make requests to access this entity's data through the REST API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default EntityConfiguration.Builder sourceConfiguration(Consumer<SourceConfiguration.Builder> sourceConfiguration) The source configuration that defines how to make requests to access this entity's data through the REST API.
This is a convenience method that creates an instance of theSourceConfiguration.Builderavoiding the need to create one manually viaSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfiguration(SourceConfiguration).- Parameters:
sourceConfiguration- a consumer that will call methods onSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schema
The schema definition for this entity, including field names, types, and other metadata that describes the structure of the data.
- Parameters:
schema- The schema definition for this entity, including field names, types, and other metadata that describes the structure of the data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-