Class GraphQLApiArgs.Builder

  • Enclosing class:
    GraphQLApiArgs

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

      • Builder

        public Builder()
    • Method Detail

      • additionalAuthenticationProviders

        public GraphQLApiArgs.Builder additionalAuthenticationProviders​(@Nullable
                                                                        com.pulumi.core.Output<java.util.List<GraphQLApiAdditionalAuthenticationProviderArgs>> additionalAuthenticationProviders)
        Parameters:
        additionalAuthenticationProviders - One or more additional authentication providers for the GraphQL API. See `additionalAuthenticationProvider` Block for details.
        Returns:
        builder
      • additionalAuthenticationProviders

        public GraphQLApiArgs.Builder additionalAuthenticationProviders​(java.util.List<GraphQLApiAdditionalAuthenticationProviderArgs> additionalAuthenticationProviders)
        Parameters:
        additionalAuthenticationProviders - One or more additional authentication providers for the GraphQL API. See `additionalAuthenticationProvider` Block for details.
        Returns:
        builder
      • additionalAuthenticationProviders

        public GraphQLApiArgs.Builder additionalAuthenticationProviders​(GraphQLApiAdditionalAuthenticationProviderArgs... additionalAuthenticationProviders)
        Parameters:
        additionalAuthenticationProviders - One or more additional authentication providers for the GraphQL API. See `additionalAuthenticationProvider` Block for details.
        Returns:
        builder
      • apiType

        public GraphQLApiArgs.Builder apiType​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> apiType)
        Parameters:
        apiType - API type. Valid values are `GRAPHQL` or `MERGED`. A `MERGED` type requires `mergedApiExecutionRoleArn` to be set.
        Returns:
        builder
      • apiType

        public GraphQLApiArgs.Builder apiType​(java.lang.String apiType)
        Parameters:
        apiType - API type. Valid values are `GRAPHQL` or `MERGED`. A `MERGED` type requires `mergedApiExecutionRoleArn` to be set.
        Returns:
        builder
      • authenticationType

        public GraphQLApiArgs.Builder authenticationType​(com.pulumi.core.Output<java.lang.String> authenticationType)
        Parameters:
        authenticationType - Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
        Returns:
        builder
      • authenticationType

        public GraphQLApiArgs.Builder authenticationType​(java.lang.String authenticationType)
        Parameters:
        authenticationType - Authentication type. Valid values: `API_KEY`, `AWS_IAM`, `AMAZON_COGNITO_USER_POOLS`, `OPENID_CONNECT`, `AWS_LAMBDA`
        Returns:
        builder
      • enhancedMetricsConfig

        public GraphQLApiArgs.Builder enhancedMetricsConfig​(@Nullable
                                                            com.pulumi.core.Output<GraphQLApiEnhancedMetricsConfigArgs> enhancedMetricsConfig)
        Parameters:
        enhancedMetricsConfig - Enables and controls the enhanced metrics feature. See `enhancedMetricsConfig` Block for details.
        Returns:
        builder
      • enhancedMetricsConfig

        public GraphQLApiArgs.Builder enhancedMetricsConfig​(GraphQLApiEnhancedMetricsConfigArgs enhancedMetricsConfig)
        Parameters:
        enhancedMetricsConfig - Enables and controls the enhanced metrics feature. See `enhancedMetricsConfig` Block for details.
        Returns:
        builder
      • introspectionConfig

        public GraphQLApiArgs.Builder introspectionConfig​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> introspectionConfig)
        Parameters:
        introspectionConfig - Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
        Returns:
        builder
      • introspectionConfig

        public GraphQLApiArgs.Builder introspectionConfig​(java.lang.String introspectionConfig)
        Parameters:
        introspectionConfig - Sets the value of the GraphQL API to enable (`ENABLED`) or disable (`DISABLED`) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see [GraphQL introspection](https://graphql.org/learn/introspection/).
        Returns:
        builder
      • lambdaAuthorizerConfig

        public GraphQLApiArgs.Builder lambdaAuthorizerConfig​(@Nullable
                                                             com.pulumi.core.Output<GraphQLApiLambdaAuthorizerConfigArgs> lambdaAuthorizerConfig)
        Parameters:
        lambdaAuthorizerConfig - Nested argument containing Lambda authorizer configuration. See `lambdaAuthorizerConfig` Block for details.
        Returns:
        builder
      • lambdaAuthorizerConfig

        public GraphQLApiArgs.Builder lambdaAuthorizerConfig​(GraphQLApiLambdaAuthorizerConfigArgs lambdaAuthorizerConfig)
        Parameters:
        lambdaAuthorizerConfig - Nested argument containing Lambda authorizer configuration. See `lambdaAuthorizerConfig` Block for details.
        Returns:
        builder
      • logConfig

        public GraphQLApiArgs.Builder logConfig​(@Nullable
                                                com.pulumi.core.Output<GraphQLApiLogConfigArgs> logConfig)
        Parameters:
        logConfig - Nested argument containing logging configuration. See `logConfig` Block for details.
        Returns:
        builder
      • mergedApiExecutionRoleArn

        public GraphQLApiArgs.Builder mergedApiExecutionRoleArn​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> mergedApiExecutionRoleArn)
        Parameters:
        mergedApiExecutionRoleArn - ARN of the execution role when `apiType` is set to `MERGED`.
        Returns:
        builder
      • mergedApiExecutionRoleArn

        public GraphQLApiArgs.Builder mergedApiExecutionRoleArn​(java.lang.String mergedApiExecutionRoleArn)
        Parameters:
        mergedApiExecutionRoleArn - ARN of the execution role when `apiType` is set to `MERGED`.
        Returns:
        builder
      • name

        public GraphQLApiArgs.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - User-supplied name for the GraphQL API. The following arguments are optional:
        Returns:
        builder
      • name

        public GraphQLApiArgs.Builder name​(java.lang.String name)
        Parameters:
        name - User-supplied name for the GraphQL API. The following arguments are optional:
        Returns:
        builder
      • openidConnectConfig

        public GraphQLApiArgs.Builder openidConnectConfig​(@Nullable
                                                          com.pulumi.core.Output<GraphQLApiOpenidConnectConfigArgs> openidConnectConfig)
        Parameters:
        openidConnectConfig - Nested argument containing OpenID Connect configuration. See `openidConnectConfig` Block for details.
        Returns:
        builder
      • openidConnectConfig

        public GraphQLApiArgs.Builder openidConnectConfig​(GraphQLApiOpenidConnectConfigArgs openidConnectConfig)
        Parameters:
        openidConnectConfig - Nested argument containing OpenID Connect configuration. See `openidConnectConfig` Block for details.
        Returns:
        builder
      • queryDepthLimit

        public GraphQLApiArgs.Builder queryDepthLimit​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> queryDepthLimit)
        Parameters:
        queryDepthLimit - Maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds. Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
        Returns:
        builder
      • queryDepthLimit

        public GraphQLApiArgs.Builder queryDepthLimit​(java.lang.Integer queryDepthLimit)
        Parameters:
        queryDepthLimit - Maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in the body of query. The default value is `0` (or unspecified), which indicates there's no depth limit. If you set a limit, it can be between `1` and `75` nested levels. This field will produce a limit error if the operation falls out of bounds. Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
        Returns:
        builder
      • region

        public GraphQLApiArgs.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 GraphQLApiArgs.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
      • resolverCountLimit

        public GraphQLApiArgs.Builder resolverCountLimit​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> resolverCountLimit)
        Parameters:
        resolverCountLimit - Maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.
        Returns:
        builder
      • resolverCountLimit

        public GraphQLApiArgs.Builder resolverCountLimit​(java.lang.Integer resolverCountLimit)
        Parameters:
        resolverCountLimit - Maximum number of resolvers that can be invoked in a single request. The default value is `0` (or unspecified), which will set the limit to `10000`. When specified, the limit value can be between `1` and `10000`. This field will produce a limit error if the operation falls out of bounds.
        Returns:
        builder
      • schema

        public GraphQLApiArgs.Builder schema​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> schema)
        Parameters:
        schema - Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
        Returns:
        builder
      • schema

        public GraphQLApiArgs.Builder schema​(java.lang.String schema)
        Parameters:
        schema - Schema definition, in GraphQL schema language format. This provider cannot perform drift detection of this configuration.
        Returns:
        builder
      • tags

        public GraphQLApiArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public GraphQLApiArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • userPoolConfig

        public GraphQLApiArgs.Builder userPoolConfig​(@Nullable
                                                     com.pulumi.core.Output<GraphQLApiUserPoolConfigArgs> userPoolConfig)
        Parameters:
        userPoolConfig - Amazon Cognito User Pool configuration. See `userPoolConfig` Block for details.
        Returns:
        builder
      • visibility

        public GraphQLApiArgs.Builder visibility​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> visibility)
        Parameters:
        visibility - Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.
        Returns:
        builder
      • visibility

        public GraphQLApiArgs.Builder visibility​(java.lang.String visibility)
        Parameters:
        visibility - Sets the value of the GraphQL API to public (`GLOBAL`) or private (`PRIVATE`). If no value is provided, the visibility will be set to `GLOBAL` by default. This value cannot be changed once the API has been created.
        Returns:
        builder
      • xrayEnabled

        public GraphQLApiArgs.Builder xrayEnabled​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> xrayEnabled)
        Parameters:
        xrayEnabled - Whether tracing with X-ray is enabled. Defaults to false.
        Returns:
        builder
      • xrayEnabled

        public GraphQLApiArgs.Builder xrayEnabled​(java.lang.Boolean xrayEnabled)
        Parameters:
        xrayEnabled - Whether tracing with X-ray is enabled. Defaults to false.
        Returns:
        builder