Class GetExportPlainArgs.Builder

  • Enclosing class:
    GetExportPlainArgs

    public static final class GetExportPlainArgs.Builder
    extends java.lang.Object
    • 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