public static interface CreateGraphqlApiRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateGraphqlApiRequest.Builder,CreateGraphqlApiRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateGraphqlApiRequest.Builder |
additionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
CreateGraphqlApiRequest.Builder |
additionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
CreateGraphqlApiRequest.Builder |
additionalAuthenticationProviders(Consumer<AdditionalAuthenticationProvider.Builder>... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
CreateGraphqlApiRequest.Builder |
apiType(GraphQLApiType apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL) or merged API (
MERGED). |
CreateGraphqlApiRequest.Builder |
apiType(String apiType)
The value that indicates whether the GraphQL API is a standard API (
GRAPHQL) or merged API (
MERGED). |
CreateGraphqlApiRequest.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
CreateGraphqlApiRequest.Builder |
authenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito
user pools, or Lambda.
|
default CreateGraphqlApiRequest.Builder |
lambdaAuthorizerConfig(Consumer<LambdaAuthorizerConfig.Builder> lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
CreateGraphqlApiRequest.Builder |
lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
default CreateGraphqlApiRequest.Builder |
logConfig(Consumer<LogConfig.Builder> logConfig)
The Amazon CloudWatch Logs configuration.
|
CreateGraphqlApiRequest.Builder |
logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
CreateGraphqlApiRequest.Builder |
mergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
CreateGraphqlApiRequest.Builder |
name(String name)
A user-supplied name for the
GraphqlApi. |
default CreateGraphqlApiRequest.Builder |
openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OIDC configuration.
|
CreateGraphqlApiRequest.Builder |
openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
|
CreateGraphqlApiRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateGraphqlApiRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateGraphqlApiRequest.Builder |
ownerContact(String ownerContact)
The owner contact information for an API resource.
|
CreateGraphqlApiRequest.Builder |
tags(Map<String,String> tags)
A
TagMap object. |
default CreateGraphqlApiRequest.Builder |
userPoolConfig(Consumer<UserPoolConfig.Builder> userPoolConfig)
The Amazon Cognito user pool configuration.
|
CreateGraphqlApiRequest.Builder |
userPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
CreateGraphqlApiRequest.Builder |
visibility(GraphQLApiVisibility visibility)
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
CreateGraphqlApiRequest.Builder |
visibility(String visibility)
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
CreateGraphqlApiRequest.Builder |
xrayEnabled(Boolean xrayEnabled)
A flag indicating whether to use X-Ray tracing for the
GraphqlApi. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateGraphqlApiRequest.Builder name(String name)
A user-supplied name for the GraphqlApi.
name - A user-supplied name for the GraphqlApi.CreateGraphqlApiRequest.Builder logConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig - The Amazon CloudWatch Logs configuration.default CreateGraphqlApiRequest.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)CreateGraphqlApiRequest.Builder authenticationType(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,
AuthenticationTypeCreateGraphqlApiRequest.Builder authenticationType(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,
AuthenticationTypeCreateGraphqlApiRequest.Builder userPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
userPoolConfig - The Amazon Cognito user pool configuration.default CreateGraphqlApiRequest.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)CreateGraphqlApiRequest.Builder openIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OIDC configuration.
openIDConnectConfig - The OIDC configuration.default CreateGraphqlApiRequest.Builder openIDConnectConfig(Consumer<OpenIDConnectConfig.Builder> openIDConnectConfig)
The OIDC 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)CreateGraphqlApiRequest.Builder tags(Map<String,String> tags)
A TagMap object.
tags - A TagMap object.CreateGraphqlApiRequest.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.CreateGraphqlApiRequest.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.CreateGraphqlApiRequest.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) CreateGraphqlApiRequest.Builder xrayEnabled(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.CreateGraphqlApiRequest.Builder lambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig - Configuration for Lambda function authorization.default CreateGraphqlApiRequest.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)CreateGraphqlApiRequest.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,
GraphQLApiVisibilityCreateGraphqlApiRequest.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,
GraphQLApiVisibilityCreateGraphqlApiRequest.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,
GraphQLApiTypeCreateGraphqlApiRequest.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,
GraphQLApiTypeCreateGraphqlApiRequest.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.CreateGraphqlApiRequest.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.
CreateGraphqlApiRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateGraphqlApiRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.