public static interface ApiConfiguration.Builder extends SdkPojo, CopyableBuilder<ApiConfiguration.Builder,ApiConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default ApiConfiguration.Builder |
dataStoreConfig(Consumer<DataStoreRenderConfig.Builder> dataStoreConfig)
The configuration for an application using DataStore APIs.
|
ApiConfiguration.Builder |
dataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
|
default ApiConfiguration.Builder |
graphQLConfig(Consumer<GraphQLRenderConfig.Builder> graphQLConfig)
The configuration for an application using GraphQL APIs.
|
ApiConfiguration.Builder |
graphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
|
default ApiConfiguration.Builder |
noApiConfig(Consumer<NoApiRenderConfig.Builder> noApiConfig)
The configuration for an application with no API being used.
|
ApiConfiguration.Builder |
noApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildApiConfiguration.Builder graphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
graphQLConfig - The configuration for an application using GraphQL APIs.default ApiConfiguration.Builder graphQLConfig(Consumer<GraphQLRenderConfig.Builder> graphQLConfig)
The configuration for an application using GraphQL APIs.
This is a convenience method that creates an instance of theGraphQLRenderConfig.Builder avoiding the
need to create one manually via GraphQLRenderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to graphQLConfig(GraphQLRenderConfig).
graphQLConfig - a consumer that will call methods on GraphQLRenderConfig.BuildergraphQLConfig(GraphQLRenderConfig)ApiConfiguration.Builder dataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
dataStoreConfig - The configuration for an application using DataStore APIs.default ApiConfiguration.Builder dataStoreConfig(Consumer<DataStoreRenderConfig.Builder> dataStoreConfig)
The configuration for an application using DataStore APIs.
This is a convenience method that creates an instance of theDataStoreRenderConfig.Builder avoiding
the need to create one manually via DataStoreRenderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to dataStoreConfig(DataStoreRenderConfig).
dataStoreConfig - a consumer that will call methods on DataStoreRenderConfig.BuilderdataStoreConfig(DataStoreRenderConfig)ApiConfiguration.Builder noApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
noApiConfig - The configuration for an application with no API being used.default ApiConfiguration.Builder noApiConfig(Consumer<NoApiRenderConfig.Builder> noApiConfig)
The configuration for an application with no API being used.
This is a convenience method that creates an instance of theNoApiRenderConfig.Builder avoiding the
need to create one manually via NoApiRenderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to noApiConfig(NoApiRenderConfig).
noApiConfig - a consumer that will call methods on NoApiRenderConfig.BuildernoApiConfig(NoApiRenderConfig)Copyright © 2023. All rights reserved.