@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTypeRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTypeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getApiId()
The API ID.
|
String |
getDefinition()
The type definition, in GraphQL Schema Definition Language (SDL) format.
|
String |
getFormat()
The type format: SDL or JSON.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API ID.
|
void |
setDefinition(String definition)
The type definition, in GraphQL Schema Definition Language (SDL) format.
|
void |
setFormat(String format)
The type format: SDL or JSON.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTypeRequest |
withApiId(String apiId)
The API ID.
|
CreateTypeRequest |
withDefinition(String definition)
The type definition, in GraphQL Schema Definition Language (SDL) format.
|
CreateTypeRequest |
withFormat(String format)
The type format: SDL or JSON.
|
CreateTypeRequest |
withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setApiId(String apiId)
The API ID.
apiId - The API ID.public String getApiId()
The API ID.
public CreateTypeRequest withApiId(String apiId)
The API ID.
apiId - The API ID.public void setDefinition(String definition)
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
definition - The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
public String getDefinition()
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
For more information, see the GraphQL SDL documentation.
public CreateTypeRequest withDefinition(String definition)
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
definition - The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
public void setFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic String getFormat()
The type format: SDL or JSON.
TypeDefinitionFormatpublic CreateTypeRequest withFormat(String format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic CreateTypeRequest withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
format - The type format: SDL or JSON.TypeDefinitionFormatpublic String toString()
toString in class ObjectObject.toString()public CreateTypeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.