@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTypeRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTypeRequest |
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 new definition.
|
String |
getFormat()
The new type format: SDL or JSON.
|
String |
getTypeName()
The new type name.
|
int |
hashCode() |
void |
setApiId(String apiId)
The API ID.
|
void |
setDefinition(String definition)
The new definition.
|
void |
setFormat(String format)
The new type format: SDL or JSON.
|
void |
setTypeName(String typeName)
The new type name.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTypeRequest |
withApiId(String apiId)
The API ID.
|
UpdateTypeRequest |
withDefinition(String definition)
The new definition.
|
UpdateTypeRequest |
withFormat(String format)
The new type format: SDL or JSON.
|
UpdateTypeRequest |
withFormat(TypeDefinitionFormat format)
The new type format: SDL or JSON.
|
UpdateTypeRequest |
withTypeName(String typeName)
The new type name.
|
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 UpdateTypeRequest withApiId(String apiId)
The API ID.
apiId
- The API ID.public void setTypeName(String typeName)
The new type name.
typeName
- The new type name.public String getTypeName()
The new type name.
public UpdateTypeRequest withTypeName(String typeName)
The new type name.
typeName
- The new type name.public void setDefinition(String definition)
The new definition.
definition
- The new definition.public String getDefinition()
The new definition.
public UpdateTypeRequest withDefinition(String definition)
The new definition.
definition
- The new definition.public void setFormat(String format)
The new type format: SDL or JSON.
format
- The new type format: SDL or JSON.TypeDefinitionFormat
public String getFormat()
The new type format: SDL or JSON.
TypeDefinitionFormat
public UpdateTypeRequest withFormat(String format)
The new type format: SDL or JSON.
format
- The new type format: SDL or JSON.TypeDefinitionFormat
public UpdateTypeRequest withFormat(TypeDefinitionFormat format)
The new type format: SDL or JSON.
format
- The new type format: SDL or JSON.TypeDefinitionFormat
public String toString()
toString
in class Object
Object.toString()
public UpdateTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()