public static interface GraphqlApi.Builder extends CopyableBuilder<GraphqlApi.Builder,GraphqlApi>
| Modifier and Type | Method and Description |
|---|---|
GraphqlApi.Builder |
apiId(String apiId)
The API ID.
|
GraphqlApi.Builder |
arn(String arn)
The ARN.
|
GraphqlApi.Builder |
authenticationType(AuthenticationType authenticationType)
The authentication type.
|
GraphqlApi.Builder |
authenticationType(String authenticationType)
The authentication type.
|
GraphqlApi.Builder |
name(String name)
The API name.
|
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.
|
copyapply, 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 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 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 arn(String arn)
The ARN.
arn - The ARN.GraphqlApi.Builder uris(Map<String,String> uris)
The URIs.
uris - The URIs.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.