Class ExportApiRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.apigatewayv2.model.ApiGatewayV2Request
-
- software.amazon.awssdk.services.apigatewayv2.model.ExportApiRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>
@Generated("software.amazon.awssdk:codegen") public final class ExportApiRequest extends ApiGatewayV2Request implements ToCopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportApiRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapiId()The API identifier.static ExportApiRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexportVersion()The version of the API Gateway export algorithm.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanincludeExtensions()Specifies whether to include API Gateway extensions in the exported API definition.StringoutputType()The output type of the exported definition file.List<SdkField<?>>sdkFields()static Class<? extends ExportApiRequest.Builder>serializableBuilderClass()Stringspecification()The version of the API specification to use.StringstageName()The name of the API stage to export.ExportApiRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
apiId
public final String apiId()
The API identifier.
- Returns:
- The API identifier.
-
exportVersion
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.
- Returns:
- The version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is 1.0.
-
includeExtensions
public final Boolean includeExtensions()
Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
- Returns:
- Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
-
outputType
public final String outputType()
The output type of the exported definition file. Valid values are JSON and YAML.
- Returns:
- The output type of the exported definition file. Valid values are JSON and YAML.
-
specification
public final String specification()
The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
- Returns:
- The version of the API specification to use. OAS30, for OpenAPI 3.0, is the only supported value.
-
stageName
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.
- Returns:
- The name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
-
toBuilder
public ExportApiRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportApiRequest.Builder,ExportApiRequest>- Specified by:
toBuilderin classApiGatewayV2Request
-
builder
public static ExportApiRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportApiRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-