@Generated(value="software.amazon.awssdk:codegen") public final class ExportApiRequest extends ApiGatewayV2Request implements ToCopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExportApiRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The API identifier.
|
static ExportApiRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
exportVersion()
The version of the API Gateway export algorithm.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
includeExtensions()
Specifies whether to include API
Gateway extensions in the exported API definition.
|
String |
outputType()
The output type of the exported definition file.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportApiRequest.Builder> |
serializableBuilderClass() |
String |
specification()
The version of the API specification to use.
|
String |
stageName()
The name of the API stage to export.
|
ExportApiRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String apiId()
The API identifier.
public final 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.
public final Boolean includeExtensions()
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
public final String outputType()
The output type of the exported definition file. Valid values are JSON and YAML.
public final String specification()
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
public final 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.
public ExportApiRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>toBuilder in class ApiGatewayV2Requestpublic static ExportApiRequest.Builder builder()
public static Class<? extends ExportApiRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.