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 request.
|
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 identifier of the RestApi to be exported.
|
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 identifier of the RestApi to be exported.
|
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 identifier of the RestApi to be exported.
|
GetExportRequest |
withStageName(String stageName)
The name of the Stage that will be exported.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The identifier of the RestApi to be exported.
restApiId
- The identifier of the RestApi to be exported.public String getRestApiId()
The identifier of the RestApi to be exported.
public GetExportRequest withRestApiId(String restApiId)
The identifier of the RestApi to be exported.
restApiId
- The identifier of the RestApi to be exported.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 x-amazon-apigateway-integration extensions 'authorizers' will export x-amazon-apigateway-authorizer extensions 'postman' will export with Postman extensions, allowing for import to the Postman tool
public 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 x-amazon-apigateway-integration extensions 'authorizers' will export x-amazon-apigateway-authorizer extensions 'postman' will export 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
x-amazon-apigateway-integration extensions 'authorizers' will
export x-amazon-apigateway-authorizer extensions 'postman' will
export 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 x-amazon-apigateway-integration extensions 'authorizers' will export x-amazon-apigateway-authorizer extensions 'postman' will export 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
x-amazon-apigateway-integration extensions 'authorizers' will
export x-amazon-apigateway-authorizer extensions 'postman' will
export 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 'swagger'. Should be specifed 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 'swagger'. Should be specifed 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 'swagger'. Should be specifed 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 'swagger'. Should be specifed 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 'swagger'. Should be specifed 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.