@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 |
getAuthenticationType()
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
Configuration for Amazon Web Services Lambda function authorization.
|
LogConfig |
getLogConfig()
The Amazon CloudWatch Logs configuration.
|
String |
getName()
A user-supplied name for the
GraphqlApi . |
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OpenID Connect configuration.
|
Map<String,String> |
getTags()
A
TagMap object. |
UserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
Boolean |
getXrayEnabled()
A flag indicating whether to enable X-Ray tracing for the
GraphqlApi . |
int |
hashCode() |
Boolean |
isXrayEnabled()
A flag indicating whether to enable X-Ray tracing for the
GraphqlApi . |
void |
setAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
void |
setAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
void |
setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
|
void |
setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
void |
setName(String name)
A user-supplied name for the
GraphqlApi . |
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
|
void |
setTags(Map<String,String> tags)
A
TagMap object. |
void |
setUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
void |
setXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to enable 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 |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
CreateGraphqlApiRequest |
withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web
Services Lambda.
|
CreateGraphqlApiRequest |
withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
|
CreateGraphqlApiRequest |
withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
CreateGraphqlApiRequest |
withName(String name)
A user-supplied name for the
GraphqlApi . |
CreateGraphqlApiRequest |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
|
CreateGraphqlApiRequest |
withTags(Map<String,String> tags)
A
TagMap object. |
CreateGraphqlApiRequest |
withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
CreateGraphqlApiRequest |
withXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to enable 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, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services Lambda.AuthenticationType
public String getAuthenticationType()
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
AuthenticationType
public CreateGraphqlApiRequest withAuthenticationType(String authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services Lambda.AuthenticationType
public CreateGraphqlApiRequest withAuthenticationType(AuthenticationType authenticationType)
The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
authenticationType
- The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or
Amazon Web Services 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 OpenID Connect configuration.
openIDConnectConfig
- The OpenID Connect configuration.public OpenIDConnectConfig getOpenIDConnectConfig()
The OpenID Connect configuration.
public CreateGraphqlApiRequest withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
openIDConnectConfig
- The OpenID Connect 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 enable X-Ray tracing for the GraphqlApi
.
xrayEnabled
- A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.public Boolean getXrayEnabled()
A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.
GraphqlApi
.public CreateGraphqlApiRequest withXrayEnabled(Boolean xrayEnabled)
A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.
xrayEnabled
- A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.public Boolean isXrayEnabled()
A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.
GraphqlApi
.public void setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Amazon Web Services Lambda function authorization.public LambdaAuthorizerConfig getLambdaAuthorizerConfig()
Configuration for Amazon Web Services Lambda function authorization.
public CreateGraphqlApiRequest withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Amazon Web Services Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Amazon Web Services Lambda function authorization.public String toString()
toString
in class Object
Object.toString()
public CreateGraphqlApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()