Class GetExportPlainArgs.Builder

  • Enclosing class:
    GetExportPlainArgs

    public static final class GetExportPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • apiId

        public GetExportPlainArgs.Builder apiId​(java.lang.String apiId)
        Parameters:
        apiId - API identifier.
        Returns:
        builder
      • exportVersion

        public GetExportPlainArgs.Builder exportVersion​(@Nullable
                                                        java.lang.String exportVersion)
        Parameters:
        exportVersion - Version of the API Gateway export algorithm. API Gateway uses the latest version by default. Currently, the only supported version is `1.0`.
        Returns:
        builder
      • includeExtensions

        public GetExportPlainArgs.Builder includeExtensions​(@Nullable
                                                            java.lang.Boolean includeExtensions)
        Parameters:
        includeExtensions - Whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.
        Returns:
        builder
      • outputType

        public GetExportPlainArgs.Builder outputType​(java.lang.String outputType)
        Parameters:
        outputType - Output type of the exported definition file. Valid values are `JSON` and `YAML`.
        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
      • specification

        public GetExportPlainArgs.Builder specification​(java.lang.String specification)
        Parameters:
        specification - Version of the API specification to use. `OAS30`, for OpenAPI 3.0, is the only supported value.
        Returns:
        builder
      • stageName

        public GetExportPlainArgs.Builder stageName​(@Nullable
                                                    java.lang.String stageName)
        Parameters:
        stageName - Name of the API stage to export. If you don't specify this property, a representation of the latest API configuration is exported.
        Returns:
        builder