@Generated(value="software.amazon.awssdk:codegen") public final class ApiConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApiConfiguration.Builder,ApiConfiguration>
Describes the API configuration for a code generation job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApiConfiguration.Builder |
static class |
ApiConfiguration.Type |
| Modifier and Type | Method and Description |
|---|---|
static ApiConfiguration.Builder |
builder() |
DataStoreRenderConfig |
dataStoreConfig()
The configuration for an application using DataStore APIs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ApiConfiguration |
fromDataStoreConfig(Consumer<DataStoreRenderConfig.Builder> dataStoreConfig)
Create an instance of this class with
dataStoreConfig() initialized to the given value. |
static ApiConfiguration |
fromDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
Create an instance of this class with
dataStoreConfig() initialized to the given value. |
static ApiConfiguration |
fromGraphQLConfig(Consumer<GraphQLRenderConfig.Builder> graphQLConfig)
Create an instance of this class with
graphQLConfig() initialized to the given value. |
static ApiConfiguration |
fromGraphQLConfig(GraphQLRenderConfig graphQLConfig)
Create an instance of this class with
graphQLConfig() initialized to the given value. |
static ApiConfiguration |
fromNoApiConfig(Consumer<NoApiRenderConfig.Builder> noApiConfig)
Create an instance of this class with
noApiConfig() initialized to the given value. |
static ApiConfiguration |
fromNoApiConfig(NoApiRenderConfig noApiConfig)
Create an instance of this class with
noApiConfig() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GraphQLRenderConfig |
graphQLConfig()
The configuration for an application using GraphQL APIs.
|
int |
hashCode() |
NoApiRenderConfig |
noApiConfig()
The configuration for an application with no API being used.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApiConfiguration.Builder> |
serializableBuilderClass() |
ApiConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ApiConfiguration.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final GraphQLRenderConfig graphQLConfig()
The configuration for an application using GraphQL APIs.
public final DataStoreRenderConfig dataStoreConfig()
The configuration for an application using DataStore APIs.
public final NoApiRenderConfig noApiConfig()
The configuration for an application with no API being used.
public ApiConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ApiConfiguration.Builder,ApiConfiguration>public static ApiConfiguration.Builder builder()
public static Class<? extends ApiConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ApiConfiguration fromGraphQLConfig(GraphQLRenderConfig graphQLConfig)
graphQLConfig() initialized to the given value.
The configuration for an application using GraphQL APIs.
graphQLConfig - The configuration for an application using GraphQL APIs.public static ApiConfiguration fromGraphQLConfig(Consumer<GraphQLRenderConfig.Builder> graphQLConfig)
graphQLConfig() initialized to the given value.
The configuration for an application using GraphQL APIs.
graphQLConfig - The configuration for an application using GraphQL APIs.public static ApiConfiguration fromDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
dataStoreConfig() initialized to the given value.
The configuration for an application using DataStore APIs.
dataStoreConfig - The configuration for an application using DataStore APIs.public static ApiConfiguration fromDataStoreConfig(Consumer<DataStoreRenderConfig.Builder> dataStoreConfig)
dataStoreConfig() initialized to the given value.
The configuration for an application using DataStore APIs.
dataStoreConfig - The configuration for an application using DataStore APIs.public static ApiConfiguration fromNoApiConfig(NoApiRenderConfig noApiConfig)
noApiConfig() initialized to the given value.
The configuration for an application with no API being used.
noApiConfig - The configuration for an application with no API being used.public static ApiConfiguration fromNoApiConfig(Consumer<NoApiRenderConfig.Builder> noApiConfig)
noApiConfig() initialized to the given value.
The configuration for an application with no API being used.
noApiConfig - The configuration for an application with no API being used.public ApiConfiguration.Type type()
ApiConfiguration.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be ApiConfiguration.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.