@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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, 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, withSdkRequestTimeout
public 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.TypeDefinitionFormat
public String getFormat()
The type format: SDL or JSON.
TypeDefinitionFormat
public CreateTypeRequest withFormat(String format)
The type format: SDL or JSON.
format
- The type format: SDL or JSON.TypeDefinitionFormat
public CreateTypeRequest withFormat(TypeDefinitionFormat format)
The type format: SDL or JSON.
format
- The type format: SDL or JSON.TypeDefinitionFormat
public String toString()
toString
in class Object
Object.toString()
public CreateTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()