public static interface GraphqlApi.Builder extends SdkPojo, CopyableBuilder<GraphqlApi.Builder,GraphqlApi>
| Modifier and Type | Method and Description |
|---|---|
GraphqlApi.Builder |
additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
GraphqlApi.Builder |
additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
GraphqlApi.Builder |
additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
GraphqlApi.Builder |
apiId(String apiId)
The API ID.
|
GraphqlApi.Builder |
apiType(GraphQLApiType apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL) or merged API (
MERGED). |
GraphqlApi.Builder |
apiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL) or merged API (
MERGED). |
GraphqlApi.Builder |
arn(String arn)
The Amazon Resource Name (ARN).
|
GraphqlApi.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication type.
|
GraphqlApi.Builder |
authenticationType(String authenticationType)
The authentication type.
|
GraphqlApi.Builder |
dns(Map<String,String> dns)
The DNS records for the API.
|
default GraphqlApi.Builder |
lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
GraphqlApi.Builder |
lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
default GraphqlApi.Builder |
logConfig(Consumer<LogConfig.Builder> logConfig)
The Amazon CloudWatch Logs configuration.
|
GraphqlApi.Builder |
logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
GraphqlApi.Builder |
mergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
GraphqlApi.Builder |
name(String name)
The API name.
|
default GraphqlApi.Builder |
openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OpenID Connect configuration.
|
GraphqlApi.Builder |
openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
|
GraphqlApi.Builder |
owner(String owner)
The account owner of the GraphQL API.
|
GraphqlApi.Builder |
ownerContact(String ownerContact)
The owner contact information for an API resource.
|
GraphqlApi.Builder |
tags(Map<String,String> tags)
The tags.
|
GraphqlApi.Builder |
uris(Map<String,String> uris)
The URIs.
|
default GraphqlApi.Builder |
userPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig)
The Amazon Cognito user pool configuration.
|
GraphqlApi.Builder |
userPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
GraphqlApi.Builder |
visibility(GraphQLApiVisibility visibility)
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
GraphqlApi.Builder |
visibility(String visibility)
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
GraphqlApi.Builder |
wafWebAclArn(String wafWebAclArn)
The ARN of the WAF access control list (ACL) associated with this
GraphqlApi, if one exists. |
GraphqlApi.Builder |
xrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for this
GraphqlApi. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGraphqlApi.Builder name(String name)
The API name.
name - The API name.GraphqlApi.Builder apiId(String apiId)
The API ID.
apiId - The API ID.GraphqlApi.Builder authenticationType(String authenticationType)
The authentication type.
authenticationType - The authentication type.AuthenticationType,
AuthenticationTypeGraphqlApi.Builder authenticationType(AuthenticationType authenticationType)
The authentication type.
authenticationType - The authentication type.AuthenticationType,
AuthenticationTypeGraphqlApi.Builder logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig - The Amazon CloudWatch Logs configuration.default GraphqlApi.Builder logConfig(Consumer<LogConfig.Builder> logConfig)
The Amazon CloudWatch Logs configuration.
This is a convenience method that creates an instance of theLogConfig.Builder avoiding the need to
create one manually via LogConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to logConfig(LogConfig).
logConfig - a consumer that will call methods on LogConfig.BuilderlogConfig(LogConfig)GraphqlApi.Builder userPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig - The Amazon Cognito user pool configuration.default GraphqlApi.Builder userPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig)
The Amazon Cognito user pool configuration.
This is a convenience method that creates an instance of theUserPoolConfig.Builder avoiding the need
to create one manually via UserPoolConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to userPoolConfig(UserPoolConfig).
userPoolConfig - a consumer that will call methods on UserPoolConfig.BuilderuserPoolConfig(UserPoolConfig)GraphqlApi.Builder openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
openIDConnectConfig - The OpenID Connect configuration.default GraphqlApi.Builder openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OpenID Connect configuration.
This is a convenience method that creates an instance of theOpenIDConnectConfig.Builder avoiding the
need to create one manually via OpenIDConnectConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to openIDConnectConfig(OpenIDConnectConfig).
openIDConnectConfig - a consumer that will call methods on OpenIDConnectConfig.BuilderopenIDConnectConfig(OpenIDConnectConfig)GraphqlApi.Builder arn(String arn)
The Amazon Resource Name (ARN).
arn - The Amazon Resource Name (ARN).GraphqlApi.Builder uris(Map<String,String> uris)
The URIs.
uris - The URIs.GraphqlApi.Builder tags(Map<String,String> tags)
The tags.
tags - The tags.GraphqlApi.Builder additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi API.
additionalAuthenticationProviders - A list of additional authentication providers for the GraphqlApi API.GraphqlApi.Builder additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi API.
additionalAuthenticationProviders - A list of additional authentication providers for the GraphqlApi API.GraphqlApi.Builder additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders)
A list of additional authentication providers for the GraphqlApi API.
AdditionalAuthenticationProvider.Builder avoiding the
need to create one manually via
AdditionalAuthenticationProvider.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #additionalAuthenticationProviders(List.
additionalAuthenticationProviders - a consumer that will call methods on
AdditionalAuthenticationProvider.Builder#additionalAuthenticationProviders(java.util.Collection) GraphqlApi.Builder xrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for this GraphqlApi.
xrayEnabled - A flag indicating whether to use X-Ray tracing for this GraphqlApi.GraphqlApi.Builder wafWebAclArn(String wafWebAclArn)
The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.
wafWebAclArn - The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one
exists.GraphqlApi.Builder lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig - Configuration for Lambda function authorization.default GraphqlApi.Builder lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
This is a convenience method that creates an instance of theLambdaAuthorizerConfig.Builder avoiding
the need to create one manually via LambdaAuthorizerConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to lambdaAuthorizerConfig(LambdaAuthorizerConfig).
lambdaAuthorizerConfig - a consumer that will call methods on LambdaAuthorizerConfig.BuilderlambdaAuthorizerConfig(LambdaAuthorizerConfig)GraphqlApi.Builder dns(Map<String,String> dns)
The DNS records for the API.
dns - The DNS records for the API.GraphqlApi.Builder visibility(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,
GraphQLApiVisibilityGraphqlApi.Builder visibility(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,
GraphQLApiVisibilityGraphqlApi.Builder apiType(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,
GraphQLApiTypeGraphqlApi.Builder apiType(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,
GraphQLApiTypeGraphqlApi.Builder mergedApiExecutionRoleArn(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.GraphqlApi.Builder owner(String owner)
The account owner of the GraphQL API.
owner - The account owner of the GraphQL API.GraphqlApi.Builder ownerContact(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.
Copyright © 2023. All rights reserved.