Interface ApiConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ApiConfiguration.Builder,,ApiConfiguration> SdkBuilder<ApiConfiguration.Builder,,ApiConfiguration> SdkPojo
- Enclosing class:
ApiConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault ApiConfiguration.BuilderdataStoreConfig(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.BuildergraphQLConfig(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.BuildernoApiConfig(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaGraphQLRenderConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDataStoreRenderConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNoApiRenderConfig.builder().When the
Consumercompletes,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:
-