Package com.pulumi.aws.apigateway.inputs
Class GetExportPlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.apigateway.inputs.GetExportPlainArgs.Builder
-
- Enclosing class:
- GetExportPlainArgs
public static final class GetExportPlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetExportPlainArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetExportPlainArgs.Builderaccepts(java.lang.String accepts)GetExportPlainArgsbuild()GetExportPlainArgs.BuilderexportType(java.lang.String exportType)GetExportPlainArgs.Builderparameters(java.util.Map<java.lang.String,java.lang.String> parameters)GetExportPlainArgs.Builderregion(java.lang.String region)GetExportPlainArgs.BuilderrestApiId(java.lang.String restApiId)GetExportPlainArgs.BuilderstageName(java.lang.String stageName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetExportPlainArgs defaults)
-
-
Method Detail
-
accepts
public GetExportPlainArgs.Builder accepts(@Nullable java.lang.String accepts)
- Parameters:
accepts- Content-type of the export. Valid values are `application/json` and `application/yaml` are supported for `exportType` `ofoas30` and `swagger`.- Returns:
- builder
-
exportType
public GetExportPlainArgs.Builder exportType(java.lang.String exportType)
- Parameters:
exportType- Type of export. Acceptable values are `oas30` for OpenAPI 3.0.x and `swagger` for Swagger/OpenAPI 2.0.- Returns:
- builder
-
parameters
public GetExportPlainArgs.Builder parameters(@Nullable java.util.Map<java.lang.String,java.lang.String> parameters)
- Parameters:
parameters- Key-value map of query string parameters that specify properties of the export. the following parameters are supported: `extensions='integrations'` or `extensions='apigateway'` will export the API with x-amazon-apigateway-integration extensions. `extensions='authorizers'` will export the API with x-amazon-apigateway-authorizer extensions.- Returns:
- builder
-
region
public GetExportPlainArgs.Builder region(@Nullable java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
restApiId
public GetExportPlainArgs.Builder restApiId(java.lang.String restApiId)
- Parameters:
restApiId- Identifier of the associated REST API.- Returns:
- builder
-
stageName
public GetExportPlainArgs.Builder stageName(java.lang.String stageName)
- Parameters:
stageName- Name of the Stage that will be exported.- Returns:
- builder
-
build
public GetExportPlainArgs build()
-
-