Class GetExportRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddParametersEntry(String key, String value) Removes all the entries added into Parameters.clone()Creates a shallow clone of this request.booleanThe content-type of the export, for example 'application/json'.The type of export.A key-value map of query string parameters that specify properties of the export, depending on the requested exportType.The identifier of the RestApi to be exported.The name of the Stage that will be exported.inthashCode()voidsetAccepts(String accepts) The content-type of the export, for example 'application/json'.voidsetExportType(String exportType) The type of export.voidsetParameters(Map<String, String> parameters) A key-value map of query string parameters that specify properties of the export, depending on the requested exportType.voidsetRestApiId(String restApiId) The identifier of the RestApi to be exported.voidsetStageName(String stageName) The name of the Stage that will be exported.toString()Returns a string representation of this object; useful for testing and debugging.withAccepts(String accepts) The content-type of the export, for example 'application/json'.withExportType(String exportType) The type of export.withParameters(Map<String, String> parameters) A key-value map of query string parameters that specify properties of the export, depending on the requested exportType.withRestApiId(String restApiId) The identifier of the RestApi to be exported.withStageName(String stageName) The name of the Stage that will be exported.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GetExportRequest
public GetExportRequest()
-
-
Method Details
-
setRestApiId
-
getRestApiId
-
withRestApiId
-
setStageName
-
getStageName
-
withStageName
-
setExportType
The type of export. Currently only 'swagger' is supported.
- Parameters:
exportType- The type of export. Currently only 'swagger' is supported.
-
getExportType
The type of export. Currently only 'swagger' is supported.
- Returns:
- The type of export. Currently only 'swagger' is supported.
-
withExportType
The type of export. Currently only 'swagger' is supported.
- Parameters:
exportType- The type of export. Currently only 'swagger' is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Returns:
- 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
-
setParameters
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:
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
-
withParameters
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:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addParametersEntry
-
clearParametersEntries
Removes all the entries added into Parameters. <p> Returns a reference to this object so that method calls can be chained together. -
setAccepts
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withAccepts
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-