Class GetExportArgs.Builder

  • Enclosing class:
    GetExportArgs

    public static final class GetExportArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • 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