Class GraphQLApiState.Builder

  • Enclosing class:
    GraphQLApiState

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

      • Builder

        public Builder()
    • Method Detail

      • additionalAuthenticationProviders

        public GraphQLApiState.Builder additionalAuthenticationProviders​(@Nullable
                                                                         com.pulumi.core.Output<java.util.List<GraphQLApiAdditionalAuthenticationProviderArgs>> additionalAuthenticationProviders)
        Parameters:
        additionalAuthenticationProviders - One or more additional authentication providers for the GraphqlApi. Defined below.
        Returns:
        builder
      • additionalAuthenticationProviders

        public GraphQLApiState.Builder additionalAuthenticationProviders​(java.util.List<GraphQLApiAdditionalAuthenticationProviderArgs> additionalAuthenticationProviders)
        Parameters:
        additionalAuthenticationProviders - One or more additional authentication providers for the GraphqlApi. Defined below.
        Returns:
        builder
      • arn

        public GraphQLApiState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN
        Returns:
        builder
      • authenticationType

        public GraphQLApiState.Builder authenticationType​(@Nullable
                                                          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 GraphQLApiState.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
      • introspectionConfig

        public GraphQLApiState.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 GraphQLApiState.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 GraphQLApiState.Builder lambdaAuthorizerConfig​(@Nullable
                                                              com.pulumi.core.Output<GraphQLApiLambdaAuthorizerConfigArgs> lambdaAuthorizerConfig)
        Parameters:
        lambdaAuthorizerConfig - Nested argument containing Lambda authorizer configuration. Defined below.
        Returns:
        builder
      • logConfig

        public GraphQLApiState.Builder logConfig​(@Nullable
                                                 com.pulumi.core.Output<GraphQLApiLogConfigArgs> logConfig)
        Parameters:
        logConfig - Nested argument containing logging configuration. Defined below.
        Returns:
        builder
      • name

        public GraphQLApiState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - User-supplied name for the GraphqlApi.
        Returns:
        builder
      • name

        public GraphQLApiState.Builder name​(java.lang.String name)
        Parameters:
        name - User-supplied name for the GraphqlApi.
        Returns:
        builder
      • openidConnectConfig

        public GraphQLApiState.Builder openidConnectConfig​(@Nullable
                                                           com.pulumi.core.Output<GraphQLApiOpenidConnectConfigArgs> openidConnectConfig)
        Parameters:
        openidConnectConfig - Nested argument containing OpenID Connect configuration. Defined below.
        Returns:
        builder
      • queryDepthLimit

        public GraphQLApiState.Builder queryDepthLimit​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> queryDepthLimit)
        Parameters:
        queryDepthLimit - The 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 GraphQLApiState.Builder queryDepthLimit​(java.lang.Integer queryDepthLimit)
        Parameters:
        queryDepthLimit - The 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
      • resolverCountLimit

        public GraphQLApiState.Builder resolverCountLimit​(@Nullable
                                                          com.pulumi.core.Output<java.lang.Integer> resolverCountLimit)
        Parameters:
        resolverCountLimit - The 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 GraphQLApiState.Builder resolverCountLimit​(java.lang.Integer resolverCountLimit)
        Parameters:
        resolverCountLimit - The 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 GraphQLApiState.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 GraphQLApiState.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 GraphQLApiState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public GraphQLApiState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public GraphQLApiState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public GraphQLApiState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • uris

        public GraphQLApiState.Builder uris​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> uris)
        Parameters:
        uris - Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
        Returns:
        builder
      • uris

        public GraphQLApiState.Builder uris​(java.util.Map<java.lang.String,​java.lang.String> uris)
        Parameters:
        uris - Map of URIs associated with the APIE.g., `uris["GRAPHQL"] = https://ID.appsync-api.REGION.amazonaws.com/graphql`
        Returns:
        builder
      • visibility

        public GraphQLApiState.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 GraphQLApiState.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 GraphQLApiState.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 GraphQLApiState.Builder xrayEnabled​(java.lang.Boolean xrayEnabled)
        Parameters:
        xrayEnabled - Whether tracing with X-ray is enabled. Defaults to false.
        Returns:
        builder