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