@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.
|
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.
|
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 |
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 |
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 |
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 |
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 String toString()
toString
in class Object
Object.toString()
public CreateGraphqlApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()