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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EntityConfiguration.Builderschema(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.EntityConfiguration.BuildersourceConfiguration(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
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 Detail
-
sourceConfiguration
EntityConfiguration.Builder sourceConfiguration(SourceConfiguration 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:
sourceConfiguration(SourceConfiguration)
-
schema
EntityConfiguration.Builder schema(Map<String,FieldDefinition> 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.
-
-