@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApiConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the API configuration for a code generation job.
Constructor and Description |
---|
ApiConfiguration() |
Modifier and Type | Method and Description |
---|---|
ApiConfiguration |
clone() |
boolean |
equals(Object obj) |
DataStoreRenderConfig |
getDataStoreConfig()
The configuration for an application using DataStore APIs.
|
GraphQLRenderConfig |
getGraphQLConfig()
The configuration for an application using GraphQL APIs.
|
NoApiRenderConfig |
getNoApiConfig()
The configuration for an application with no API being used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
|
void |
setGraphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
|
void |
setNoApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
|
String |
toString()
Returns a string representation of this object.
|
ApiConfiguration |
withDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
|
ApiConfiguration |
withGraphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
|
ApiConfiguration |
withNoApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
|
public void setGraphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
graphQLConfig
- The configuration for an application using GraphQL APIs.public GraphQLRenderConfig getGraphQLConfig()
The configuration for an application using GraphQL APIs.
public ApiConfiguration withGraphQLConfig(GraphQLRenderConfig graphQLConfig)
The configuration for an application using GraphQL APIs.
graphQLConfig
- The configuration for an application using GraphQL APIs.public void setDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
dataStoreConfig
- The configuration for an application using DataStore APIs.public DataStoreRenderConfig getDataStoreConfig()
The configuration for an application using DataStore APIs.
public ApiConfiguration withDataStoreConfig(DataStoreRenderConfig dataStoreConfig)
The configuration for an application using DataStore APIs.
dataStoreConfig
- The configuration for an application using DataStore APIs.public void setNoApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
noApiConfig
- The configuration for an application with no API being used.public NoApiRenderConfig getNoApiConfig()
The configuration for an application with no API being used.
public ApiConfiguration withNoApiConfig(NoApiRenderConfig noApiConfig)
The configuration for an application with no API being used.
noApiConfig
- The configuration for an application with no API being used.public String toString()
toString
in class Object
Object.toString()
public ApiConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.