@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ExportApiRequest() |
Modifier and Type | Method and Description |
---|---|
ExportApiRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API identifier.
|
String |
getExportVersion()
The version of the API Gateway export algorithm.
|
Boolean |
getIncludeExtensions()
Specifies whether to include API
Gateway extensions in the exported API definition.
|
String |
getOutputType()
The output type of the exported definition file.
|
String |
getSpecification()
The version of the API specification to use.
|
String |
getStageName()
The name of the API stage to export.
|
int |
hashCode() |
Boolean |
isIncludeExtensions()
Specifies whether to include API
Gateway extensions in the exported API definition.
|
void |
setApiId(String apiId)
The API identifier.
|
void |
setExportVersion(String exportVersion)
The version of the API Gateway export algorithm.
|
void |
setIncludeExtensions(Boolean includeExtensions)
Specifies whether to include API
Gateway extensions in the exported API definition.
|
void |
setOutputType(String outputType)
The output type of the exported definition file.
|
void |
setSpecification(String specification)
The version of the API specification to use.
|
void |
setStageName(String stageName)
The name of the API stage to export.
|
String |
toString()
Returns a string representation of this object.
|
ExportApiRequest |
withApiId(String apiId)
The API identifier.
|
ExportApiRequest |
withExportVersion(String exportVersion)
The version of the API Gateway export algorithm.
|
ExportApiRequest |
withIncludeExtensions(Boolean includeExtensions)
Specifies whether to include API
Gateway extensions in the exported API definition.
|
ExportApiRequest |
withOutputType(String outputType)
The output type of the exported definition file.
|
ExportApiRequest |
withSpecification(String specification)
The version of the API specification to use.
|
ExportApiRequest |
withStageName(String stageName)
The name of the API stage to export.
|
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 identifier.
apiId
- The API identifier.public String getApiId()
The API identifier.
public ExportApiRequest withApiId(String apiId)
The API identifier.
apiId
- The API identifier.public void setExportVersion(String exportVersion)
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
exportVersion
- The version of the API Gateway export algorithm. API Gateway uses the latest version by default.
Currently, the only supported version is 1.0.public String getExportVersion()
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
public ExportApiRequest withExportVersion(String exportVersion)
The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
exportVersion
- The version of the API Gateway export algorithm. API Gateway uses the latest version by default.
Currently, the only supported version is 1.0.public void setIncludeExtensions(Boolean includeExtensions)
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
includeExtensions
- Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by
default.public Boolean getIncludeExtensions()
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
public ExportApiRequest withIncludeExtensions(Boolean includeExtensions)
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
includeExtensions
- Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by
default.public Boolean isIncludeExtensions()
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
public void setOutputType(String outputType)
The output type of the exported definition file. Valid values are JSON and YAML.
outputType
- The output type of the exported definition file. Valid values are JSON and YAML.public String getOutputType()
The output type of the exported definition file. Valid values are JSON and YAML.
public ExportApiRequest withOutputType(String outputType)
The output type of the exported definition file. Valid values are JSON and YAML.
outputType
- The output type of the exported definition file. Valid values are JSON and YAML.public void setSpecification(String specification)
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
specification
- The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.public String getSpecification()
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
public ExportApiRequest withSpecification(String specification)
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
specification
- The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.public void setStageName(String stageName)
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
stageName
- The name of the API stage to export. If you don't specify this property, a representation of the latest
API configuration is exported.public String getStageName()
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
public ExportApiRequest withStageName(String stageName)
The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
stageName
- The name of the API stage to export. If you don't specify this property, a representation of the latest
API configuration is exported.public String toString()
toString
in class Object
Object.toString()
public ExportApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()