Interface ApiConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ApiConfiguration.Builder,
,ApiConfiguration> SdkBuilder<ApiConfiguration.Builder,
,ApiConfiguration> SdkPojo
- Enclosing class:
ApiConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ApiConfiguration.Builder
dataStoreConfig
(Consumer<DataStoreRenderConfig.Builder> dataStoreConfig) The configuration for an application using DataStore APIs.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.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.noApiConfig
(NoApiRenderConfig noApiConfig) The configuration for an application with no API being used.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
-
graphQLConfig
The configuration for an application using GraphQL APIs.
- Parameters:
graphQLConfig
- The configuration for an application using GraphQL APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaGraphQLRenderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tographQLConfig(GraphQLRenderConfig)
.- Parameters:
graphQLConfig
- a consumer that will call methods onGraphQLRenderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataStoreConfig
The configuration for an application using DataStore APIs.
- Parameters:
dataStoreConfig
- The configuration for an application using DataStore APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataStoreConfig
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 viaDataStoreRenderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataStoreConfig(DataStoreRenderConfig)
.- Parameters:
dataStoreConfig
- a consumer that will call methods onDataStoreRenderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
noApiConfig
The configuration for an application with no API being used.
- Parameters:
noApiConfig
- The configuration for an application with no API being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaNoApiRenderConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonoApiConfig(NoApiRenderConfig)
.- Parameters:
noApiConfig
- a consumer that will call methods onNoApiRenderConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-