@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetExportRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetExportRequest() |
Modifier and Type | Method and Description |
---|---|
GetExportRequest |
addParametersEntry(String key,
String value) |
GetExportRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
GetExportRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccepts()
The content-type of the export, for example
application/json . |
String |
getExportType()
The type of export.
|
Map<String,String> |
getParameters()
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType . |
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getStageName()
The name of the Stage that will be exported.
|
int |
hashCode() |
void |
setAccepts(String accepts)
The content-type of the export, for example
application/json . |
void |
setExportType(String exportType)
The type of export.
|
void |
setParameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType . |
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStageName(String stageName)
The name of the Stage that will be exported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetExportRequest |
withAccepts(String accepts)
The content-type of the export, for example
application/json . |
GetExportRequest |
withExportType(String exportType)
The type of export.
|
GetExportRequest |
withParameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType . |
GetExportRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
GetExportRequest |
withStageName(String stageName)
The name of the Stage that will be exported.
|
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 setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public GetExportRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setStageName(String stageName)
The name of the Stage that will be exported.
stageName
- The name of the Stage that will be exported.public String getStageName()
The name of the Stage that will be exported.
public GetExportRequest withStageName(String stageName)
The name of the Stage that will be exported.
stageName
- The name of the Stage that will be exported.public void setExportType(String exportType)
The type of export. Currently only 'swagger' is supported.
exportType
- The type of export. Currently only 'swagger' is supported.public String getExportType()
The type of export. Currently only 'swagger' is supported.
public GetExportRequest withExportType(String exportType)
The type of export. Currently only 'swagger' is supported.
exportType
- The type of export. Currently only 'swagger' is supported.public Map<String,String> getParameters()
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType
. For exportType
swagger
, any combination of the following
parameters are supported: integrations
will export the API with x-amazon-apigateway-integration
extensions. authorizers
will export the API with x-amazon-apigateway-authorizer extensions.
postman
will export the API with Postman extensions, allowing for import to the Postman tool
exportType
. For exportType
swagger
, any combination of
the following parameters are supported: integrations
will export the API with
x-amazon-apigateway-integration extensions. authorizers
will export the API with
x-amazon-apigateway-authorizer extensions. postman
will export the API with Postman
extensions, allowing for import to the Postman toolpublic void setParameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType
. For exportType
swagger
, any combination of the following
parameters are supported: integrations
will export the API with x-amazon-apigateway-integration
extensions. authorizers
will export the API with x-amazon-apigateway-authorizer extensions.
postman
will export the API with Postman extensions, allowing for import to the Postman tool
parameters
- A key-value map of query string parameters that specify properties of the export, depending on the
requested exportType
. For exportType
swagger
, any combination of
the following parameters are supported: integrations
will export the API with
x-amazon-apigateway-integration extensions. authorizers
will export the API with
x-amazon-apigateway-authorizer extensions. postman
will export the API with Postman
extensions, allowing for import to the Postman toolpublic GetExportRequest withParameters(Map<String,String> parameters)
A key-value map of query string parameters that specify properties of the export, depending on the requested
exportType
. For exportType
swagger
, any combination of the following
parameters are supported: integrations
will export the API with x-amazon-apigateway-integration
extensions. authorizers
will export the API with x-amazon-apigateway-authorizer extensions.
postman
will export the API with Postman extensions, allowing for import to the Postman tool
parameters
- A key-value map of query string parameters that specify properties of the export, depending on the
requested exportType
. For exportType
swagger
, any combination of
the following parameters are supported: integrations
will export the API with
x-amazon-apigateway-integration extensions. authorizers
will export the API with
x-amazon-apigateway-authorizer extensions. postman
will export the API with Postman
extensions, allowing for import to the Postman toolpublic GetExportRequest addParametersEntry(String key, String value)
public GetExportRequest clearParametersEntries()
public void setAccepts(String accepts)
The content-type of the export, for example application/json
. Currently
application/json
and application/yaml
are supported for exportType
of
swagger
. This should be specified in the Accept
header for direct API requests.
accepts
- The content-type of the export, for example application/json
. Currently
application/json
and application/yaml
are supported for exportType
of swagger
. This should be specified in the Accept
header for direct API
requests.public String getAccepts()
The content-type of the export, for example application/json
. Currently
application/json
and application/yaml
are supported for exportType
of
swagger
. This should be specified in the Accept
header for direct API requests.
application/json
. Currently
application/json
and application/yaml
are supported for exportType
of swagger
. This should be specified in the Accept
header for direct API
requests.public GetExportRequest withAccepts(String accepts)
The content-type of the export, for example application/json
. Currently
application/json
and application/yaml
are supported for exportType
of
swagger
. This should be specified in the Accept
header for direct API requests.
accepts
- The content-type of the export, for example application/json
. Currently
application/json
and application/yaml
are supported for exportType
of swagger
. This should be specified in the Accept
header for direct API
requests.public String toString()
toString
in class Object
Object.toString()
public GetExportRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.