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.Builder
accepts(com.pulumi.core.Output<java.lang.String> accepts)
GetExportArgs.Builder
accepts(java.lang.String accepts)
GetExportArgs
build()
GetExportArgs.Builder
exportType(com.pulumi.core.Output<java.lang.String> exportType)
GetExportArgs.Builder
exportType(java.lang.String exportType)
GetExportArgs.Builder
parameters(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> parameters)
GetExportArgs.Builder
parameters(java.util.Map<java.lang.String,java.lang.String> parameters)
GetExportArgs.Builder
restApiId(com.pulumi.core.Output<java.lang.String> restApiId)
GetExportArgs.Builder
restApiId(java.lang.String restApiId)
GetExportArgs.Builder
stageName(com.pulumi.core.Output<java.lang.String> stageName)
GetExportArgs.Builder
stageName(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 `export_type` `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 `export_type` `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
-
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()
-
-