@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGraphqlApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGraphqlApiRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGraphqlApiRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateGraphqlApiRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateGraphqlApiRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AdditionalAuthenticationProvider> |
getAdditionalAuthenticationProviders()
A list of additional authentication providers for the
GraphqlApi API. |
String |
getApiType()
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL ) or merged API (
MERGED ). |
String |
getAuthenticationType()
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
EnhancedMetricsConfig |
getEnhancedMetricsConfig()
The
enhancedMetricsConfig object. |
String |
getIntrospectionConfig()
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
Configuration for Lambda function authorization.
|
LogConfig |
getLogConfig()
The Amazon CloudWatch Logs configuration.
|
String |
getMergedApiExecutionRoleArn()
The Identity and Access Management service role ARN for a merged API.
|
String |
getName()
A user-supplied name for the
GraphqlApi . |
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OIDC configuration.
|
String |
getOwnerContact()
The owner contact information for an API resource.
|
Integer |
getQueryDepthLimit()
The maximum depth a query can have in a single request.
|
Integer |
getResolverCountLimit()
The maximum number of resolvers that can be invoked in a single request.
|
Map<String,String> |
getTags()
A
TagMap object. |
UserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
String |
getVisibility()
Sets the value of the GraphQL API to public (
GLOBAL ) or private (PRIVATE ). |
Boolean |
getXrayEnabled()
A flag indicating whether to use X-Ray tracing for the
GraphqlApi . |
int |
hashCode() |
Boolean |
isXrayEnabled()
A flag indicating whether to use X-Ray tracing for the
GraphqlApi . |
void |
setAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
void |
setApiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL ) or merged API (
MERGED ). |
void |
setAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
void |
setEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The
enhancedMetricsConfig object. |
void |
setIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
void |
setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
void |
setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
void |
setMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
void |
setName(String name)
A user-supplied name for the
GraphqlApi . |
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
|
void |
setOwnerContact(String ownerContact)
The owner contact information for an API resource.
|
void |
setQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request.
|
void |
setResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request.
|
void |
setTags(Map<String,String> tags)
A
TagMap object. |
void |
setUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
void |
setVisibility(String visibility)
Sets the value of the GraphQL API to public (
GLOBAL ) or private (PRIVATE ). |
void |
setXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the
GraphqlApi . |
String |
toString()
Returns a string representation of this object.
|
CreateGraphqlApiRequest |
withAdditionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
CreateGraphqlApiRequest |
withAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
CreateGraphqlApiRequest |
withApiType(GraphQLApiType apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL ) or merged API (
MERGED ). |
CreateGraphqlApiRequest |
withApiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL ) or merged API (
MERGED ). |
CreateGraphqlApiRequest |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
CreateGraphqlApiRequest |
withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
CreateGraphqlApiRequest |
withEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The
enhancedMetricsConfig object. |
CreateGraphqlApiRequest |
withIntrospectionConfig(GraphQLApiIntrospectionConfig introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
CreateGraphqlApiRequest |
withIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
CreateGraphqlApiRequest |
withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
CreateGraphqlApiRequest |
withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
CreateGraphqlApiRequest |
withMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
CreateGraphqlApiRequest |
withName(String name)
A user-supplied name for the
GraphqlApi . |
CreateGraphqlApiRequest |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
|
CreateGraphqlApiRequest |
withOwnerContact(String ownerContact)
The owner contact information for an API resource.
|
CreateGraphqlApiRequest |
withQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request.
|
CreateGraphqlApiRequest |
withResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request.
|
CreateGraphqlApiRequest |
withTags(Map<String,String> tags)
A
TagMap object. |
CreateGraphqlApiRequest |
withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
CreateGraphqlApiRequest |
withVisibility(GraphQLApiVisibility visibility)
Sets the value of the GraphQL API to public (
GLOBAL ) or private (PRIVATE ). |
CreateGraphqlApiRequest |
withVisibility(String visibility)
Sets the value of the GraphQL API to public (
GLOBAL ) or private (PRIVATE ). |
CreateGraphqlApiRequest |
withXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the
GraphqlApi . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
A user-supplied name for the GraphqlApi
.
name
- A user-supplied name for the GraphqlApi
.public String getName()
A user-supplied name for the GraphqlApi
.
GraphqlApi
.public CreateGraphqlApiRequest withName(String name)
A user-supplied name for the GraphqlApi
.
name
- A user-supplied name for the GraphqlApi
.public void setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig
- The Amazon CloudWatch Logs configuration.public LogConfig getLogConfig()
The Amazon CloudWatch Logs configuration.
public CreateGraphqlApiRequest withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig
- The Amazon CloudWatch Logs configuration.public void setAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public String getAuthenticationType()
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
AuthenticationType
public CreateGraphqlApiRequest withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public CreateGraphqlApiRequest withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon
Cognito user pools, or Lambda.AuthenticationType
public void setUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig
- The Amazon Cognito user pool configuration.public UserPoolConfig getUserPoolConfig()
The Amazon Cognito user pool configuration.
public CreateGraphqlApiRequest withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig
- The Amazon Cognito user pool configuration.public void setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
openIDConnectConfig
- The OIDC configuration.public OpenIDConnectConfig getOpenIDConnectConfig()
The OIDC configuration.
public CreateGraphqlApiRequest withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
openIDConnectConfig
- The OIDC configuration.public void setTags(Map<String,String> tags)
A TagMap
object.
tags
- A TagMap
object.public CreateGraphqlApiRequest withTags(Map<String,String> tags)
A TagMap
object.
tags
- A TagMap
object.public CreateGraphqlApiRequest addTagsEntry(String key, String value)
public CreateGraphqlApiRequest clearTagsEntries()
public List<AdditionalAuthenticationProvider> getAdditionalAuthenticationProviders()
A list of additional authentication providers for the GraphqlApi
API.
GraphqlApi
API.public void setAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi
API.
additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.public CreateGraphqlApiRequest withAdditionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi
API.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalAuthenticationProviders(java.util.Collection)
or
withAdditionalAuthenticationProviders(java.util.Collection)
if you want to override the existing values.
additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.public CreateGraphqlApiRequest withAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi
API.
additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.public void setXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
xrayEnabled
- A flag indicating whether to use X-Ray tracing for the GraphqlApi
.public Boolean getXrayEnabled()
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
GraphqlApi
.public CreateGraphqlApiRequest withXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
xrayEnabled
- A flag indicating whether to use X-Ray tracing for the GraphqlApi
.public Boolean isXrayEnabled()
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
GraphqlApi
.public void setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.public LambdaAuthorizerConfig getLambdaAuthorizerConfig()
Configuration for Lambda function authorization.
public CreateGraphqlApiRequest withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.public void setVisibility(String 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.
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.GraphQLApiVisibility
public String getVisibility()
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.
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.GraphQLApiVisibility
public CreateGraphqlApiRequest withVisibility(String 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.
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.GraphQLApiVisibility
public CreateGraphqlApiRequest withVisibility(GraphQLApiVisibility 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.
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.GraphQLApiVisibility
public void setApiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).
apiType
- The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).GraphQLApiType
public String getApiType()
The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).
GRAPHQL
) or merged API (
MERGED
).GraphQLApiType
public CreateGraphqlApiRequest withApiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).
apiType
- The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).GraphQLApiType
public CreateGraphqlApiRequest withApiType(GraphQLApiType apiType)
The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).
apiType
- The value that indicates whether the GraphQL API is a standard API (GRAPHQL
) or merged API (
MERGED
).GraphQLApiType
public void setMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on
behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
mergedApiExecutionRoleArn
- The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this
role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the
AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.public String getMergedApiExecutionRoleArn()
The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on
behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.public CreateGraphqlApiRequest withMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on
behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.
mergedApiExecutionRoleArn
- The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this
role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the
AUTO_MERGE
to update the merged API endpoint with the source API changes automatically.public void setOwnerContact(String ownerContact)
The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
ownerContact
- The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
public String getOwnerContact()
The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
This field accepts any string input with a length of 0 - 256 characters.
public CreateGraphqlApiRequest withOwnerContact(String ownerContact)
The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
ownerContact
- The owner contact information for an API resource.
This field accepts any string input with a length of 0 - 256 characters.
public void setIntrospectionConfig(String 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.
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.
GraphQLApiIntrospectionConfig
public String getIntrospectionConfig()
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.
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.
GraphQLApiIntrospectionConfig
public CreateGraphqlApiRequest withIntrospectionConfig(String 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.
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.
GraphQLApiIntrospectionConfig
public CreateGraphqlApiRequest withIntrospectionConfig(GraphQLApiIntrospectionConfig 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.
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.
GraphQLApiIntrospectionConfig
public void setQueryDepthLimit(Integer 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.
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.
public Integer getQueryDepthLimit()
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.
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.
public CreateGraphqlApiRequest withQueryDepthLimit(Integer 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.
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.
public void setResolverCountLimit(Integer 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.
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.public Integer getResolverCountLimit()
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.
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.public CreateGraphqlApiRequest withResolverCountLimit(Integer 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.
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.public void setEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The enhancedMetricsConfig
object.
enhancedMetricsConfig
- The enhancedMetricsConfig
object.public EnhancedMetricsConfig getEnhancedMetricsConfig()
The enhancedMetricsConfig
object.
enhancedMetricsConfig
object.public CreateGraphqlApiRequest withEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The enhancedMetricsConfig
object.
enhancedMetricsConfig
- The enhancedMetricsConfig
object.public String toString()
toString
in class Object
Object.toString()
public CreateGraphqlApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()