Package com.pulumi.aws.apigateway.inputs
Class GetExportArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.apigateway.inputs.GetExportArgs.Builder
-
- Enclosing class:
- GetExportArgs
public static final class GetExportArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetExportArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetExportArgs.Builderaccepts(com.pulumi.core.Output<java.lang.String> accepts)GetExportArgs.Builderaccepts(java.lang.String accepts)GetExportArgsbuild()GetExportArgs.BuilderexportType(com.pulumi.core.Output<java.lang.String> exportType)GetExportArgs.BuilderexportType(java.lang.String exportType)GetExportArgs.Builderparameters(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> parameters)GetExportArgs.Builderparameters(java.util.Map<java.lang.String,java.lang.String> parameters)GetExportArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GetExportArgs.Builderregion(java.lang.String region)GetExportArgs.BuilderrestApiId(com.pulumi.core.Output<java.lang.String> restApiId)GetExportArgs.BuilderrestApiId(java.lang.String restApiId)GetExportArgs.BuilderstageName(com.pulumi.core.Output<java.lang.String> stageName)GetExportArgs.BuilderstageName(java.lang.String stageName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetExportArgs defaults)
-
-
Method Detail
-
accepts
public GetExportArgs.Builder accepts(@Nullable com.pulumi.core.Output<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
-
accepts
public GetExportArgs.Builder accepts(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 GetExportArgs.Builder exportType(com.pulumi.core.Output<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
-
exportType
public GetExportArgs.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 GetExportArgs.Builder parameters(@Nullable com.pulumi.core.Output<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
-
parameters
public GetExportArgs.Builder parameters(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 GetExportArgs.Builder region(@Nullable com.pulumi.core.Output<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
-
region
public GetExportArgs.Builder region(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 GetExportArgs.Builder restApiId(com.pulumi.core.Output<java.lang.String> restApiId)
- Parameters:
restApiId- Identifier of the associated REST API.- Returns:
- builder
-
restApiId
public GetExportArgs.Builder restApiId(java.lang.String restApiId)
- Parameters:
restApiId- Identifier of the associated REST API.- Returns:
- builder
-
stageName
public GetExportArgs.Builder stageName(com.pulumi.core.Output<java.lang.String> stageName)
- Parameters:
stageName- Name of the Stage that will be exported.- Returns:
- builder
-
stageName
public GetExportArgs.Builder stageName(java.lang.String stageName)
- Parameters:
stageName- Name of the Stage that will be exported.- Returns:
- builder
-
build
public GetExportArgs build()
-
-