@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGraphqlApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateGraphqlApiRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGraphqlApiRequest |
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 |
getApiId()
The API ID.
|
String |
getAuthenticationType()
The new authentication type for the
GraphqlApi object. |
EnhancedMetricsConfig |
getEnhancedMetricsConfig()
The
enhancedMetricsConfig object. |
String |
getIntrospectionConfig()
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
LambdaAuthorizerConfig |
getLambdaAuthorizerConfig()
Configuration for Lambda function authorization.
|
LogConfig |
getLogConfig()
The Amazon CloudWatch Logs configuration for the
GraphqlApi object. |
String |
getMergedApiExecutionRoleArn()
The Identity and Access Management service role ARN for a merged API.
|
String |
getName()
The new name for the
GraphqlApi object. |
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OpenID Connect configuration for the
GraphqlApi object. |
String |
getOwnerContact()
The owner contact information for an API resource.
|
Integer |
getQueryDepthLimit()
The maximum depth a query can have in a single request.
|
Integer |
getResolverCountLimit()
The maximum number of resolvers that can be invoked in a single request.
|
UserPoolConfig |
getUserPoolConfig()
The new Amazon Cognito user pool configuration for the
~GraphqlApi object. |
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 |
setApiId(String apiId)
The API ID.
|
void |
setAuthenticationType(String authenticationType)
The new authentication type for the
GraphqlApi object. |
void |
setEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The
enhancedMetricsConfig object. |
void |
setIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
void |
setLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
void |
setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for the
GraphqlApi object. |
void |
setMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
void |
setName(String name)
The new name for the
GraphqlApi object. |
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for the
GraphqlApi object. |
void |
setOwnerContact(String ownerContact)
The owner contact information for an API resource.
|
void |
setQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request.
|
void |
setResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request.
|
void |
setUserPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the
~GraphqlApi object. |
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.
|
UpdateGraphqlApiRequest |
withAdditionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
UpdateGraphqlApiRequest |
withAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
UpdateGraphqlApiRequest |
withApiId(String apiId)
The API ID.
|
UpdateGraphqlApiRequest |
withAuthenticationType(AuthenticationType authenticationType)
The new authentication type for the
GraphqlApi object. |
UpdateGraphqlApiRequest |
withAuthenticationType(String authenticationType)
The new authentication type for the
GraphqlApi object. |
UpdateGraphqlApiRequest |
withEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The
enhancedMetricsConfig object. |
UpdateGraphqlApiRequest |
withIntrospectionConfig(GraphQLApiIntrospectionConfig introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
UpdateGraphqlApiRequest |
withIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (
ENABLED ) or disable (DISABLED )
introspection. |
UpdateGraphqlApiRequest |
withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
|
UpdateGraphqlApiRequest |
withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for the
GraphqlApi object. |
UpdateGraphqlApiRequest |
withMergedApiExecutionRoleArn(String mergedApiExecutionRoleArn)
The Identity and Access Management service role ARN for a merged API.
|
UpdateGraphqlApiRequest |
withName(String name)
The new name for the
GraphqlApi object. |
UpdateGraphqlApiRequest |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for the
GraphqlApi object. |
UpdateGraphqlApiRequest |
withOwnerContact(String ownerContact)
The owner contact information for an API resource.
|
UpdateGraphqlApiRequest |
withQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request.
|
UpdateGraphqlApiRequest |
withResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request.
|
UpdateGraphqlApiRequest |
withUserPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the
~GraphqlApi object. |
UpdateGraphqlApiRequest |
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 setApiId(String apiId)
The API ID.
apiId
- The API ID.public String getApiId()
The API ID.
public UpdateGraphqlApiRequest withApiId(String apiId)
The API ID.
apiId
- The API ID.public void setName(String name)
The new name for the GraphqlApi
object.
name
- The new name for the GraphqlApi
object.public String getName()
The new name for the GraphqlApi
object.
GraphqlApi
object.public UpdateGraphqlApiRequest withName(String name)
The new name for the GraphqlApi
object.
name
- The new name for the GraphqlApi
object.public void setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
logConfig
- The Amazon CloudWatch Logs configuration for the GraphqlApi
object.public LogConfig getLogConfig()
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
GraphqlApi
object.public UpdateGraphqlApiRequest withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
logConfig
- The Amazon CloudWatch Logs configuration for the GraphqlApi
object.public void setAuthenticationType(String authenticationType)
The new authentication type for the GraphqlApi
object.
authenticationType
- The new authentication type for the GraphqlApi
object.AuthenticationType
public String getAuthenticationType()
The new authentication type for the GraphqlApi
object.
GraphqlApi
object.AuthenticationType
public UpdateGraphqlApiRequest withAuthenticationType(String authenticationType)
The new authentication type for the GraphqlApi
object.
authenticationType
- The new authentication type for the GraphqlApi
object.AuthenticationType
public UpdateGraphqlApiRequest withAuthenticationType(AuthenticationType authenticationType)
The new authentication type for the GraphqlApi
object.
authenticationType
- The new authentication type for the GraphqlApi
object.AuthenticationType
public void setUserPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
userPoolConfig
- The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.public UserPoolConfig getUserPoolConfig()
The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
~GraphqlApi
object.public UpdateGraphqlApiRequest withUserPoolConfig(UserPoolConfig userPoolConfig)
The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
userPoolConfig
- The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.public void setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for the GraphqlApi
object.
openIDConnectConfig
- The OpenID Connect configuration for the GraphqlApi
object.public OpenIDConnectConfig getOpenIDConnectConfig()
The OpenID Connect configuration for the GraphqlApi
object.
GraphqlApi
object.public UpdateGraphqlApiRequest withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration for the GraphqlApi
object.
openIDConnectConfig
- The OpenID Connect configuration for the GraphqlApi
object.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 UpdateGraphqlApiRequest 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 UpdateGraphqlApiRequest 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 UpdateGraphqlApiRequest 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 UpdateGraphqlApiRequest withLambdaAuthorizerConfig(LambdaAuthorizerConfig lambdaAuthorizerConfig)
Configuration for Lambda function authorization.
lambdaAuthorizerConfig
- Configuration for Lambda function authorization.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 UpdateGraphqlApiRequest 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 UpdateGraphqlApiRequest 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 void setIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to ENABLED
by
default. This field will produce an error if the operation attempts to use the introspection feature while this
field is disabled.
For more information about introspection, see GraphQL introspection.
introspectionConfig
- Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to
ENABLED
by default. This field will produce an error if the operation attempts to use the
introspection feature while this field is disabled.
For more information about introspection, see GraphQL introspection.
GraphQLApiIntrospectionConfig
public String getIntrospectionConfig()
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to ENABLED
by
default. This field will produce an error if the operation attempts to use the introspection feature while this
field is disabled.
For more information about introspection, see GraphQL introspection.
ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to
ENABLED
by default. This field will produce an error if the operation attempts to use the
introspection feature while this field is disabled.
For more information about introspection, see GraphQL introspection.
GraphQLApiIntrospectionConfig
public UpdateGraphqlApiRequest withIntrospectionConfig(String introspectionConfig)
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to ENABLED
by
default. This field will produce an error if the operation attempts to use the introspection feature while this
field is disabled.
For more information about introspection, see GraphQL introspection.
introspectionConfig
- Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to
ENABLED
by default. This field will produce an error if the operation attempts to use the
introspection feature while this field is disabled.
For more information about introspection, see GraphQL introspection.
GraphQLApiIntrospectionConfig
public UpdateGraphqlApiRequest withIntrospectionConfig(GraphQLApiIntrospectionConfig introspectionConfig)
Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to ENABLED
by
default. This field will produce an error if the operation attempts to use the introspection feature while this
field is disabled.
For more information about introspection, see GraphQL introspection.
introspectionConfig
- Sets the value of the GraphQL API to enable (ENABLED
) or disable (DISABLED
)
introspection. If no value is provided, the introspection configuration will be set to
ENABLED
by default. This field will produce an error if the operation attempts to use the
introspection feature while this field is disabled.
For more information about introspection, see GraphQL introspection.
GraphQLApiIntrospectionConfig
public void setQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in
the body of query. The default value is 0
(or unspecified), which indicates there's no depth limit.
If you set a limit, it can be between 1
and 75
nested levels. This field will produce a
limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
queryDepthLimit
- The maximum depth a query can have in a single request. Depth refers to the amount of nested levels
allowed in the body of query. The default value is 0
(or unspecified), which indicates
there's no depth limit. If you set a limit, it can be between 1
and 75
nested
levels. This field will produce a limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
public Integer getQueryDepthLimit()
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in
the body of query. The default value is 0
(or unspecified), which indicates there's no depth limit.
If you set a limit, it can be between 1
and 75
nested levels. This field will produce a
limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
0
(or unspecified), which indicates
there's no depth limit. If you set a limit, it can be between 1
and 75
nested
levels. This field will produce a limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
public UpdateGraphqlApiRequest withQueryDepthLimit(Integer queryDepthLimit)
The maximum depth a query can have in a single request. Depth refers to the amount of nested levels allowed in
the body of query. The default value is 0
(or unspecified), which indicates there's no depth limit.
If you set a limit, it can be between 1
and 75
nested levels. This field will produce a
limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
queryDepthLimit
- The maximum depth a query can have in a single request. Depth refers to the amount of nested levels
allowed in the body of query. The default value is 0
(or unspecified), which indicates
there's no depth limit. If you set a limit, it can be between 1
and 75
nested
levels. This field will produce a limit error if the operation falls out of bounds.
Note that fields can still be set to nullable or non-nullable. If a non-nullable field produces an error, the error will be thrown upwards to the first nullable field available.
public void setResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request. The default value is 0
(or
unspecified), which will set the limit to 10000
. When specified, the limit value can be between
1
and 10000
. This field will produce a limit error if the operation falls out of
bounds.
resolverCountLimit
- The maximum number of resolvers that can be invoked in a single request. The default value is
0
(or unspecified), which will set the limit to 10000
. When specified, the limit
value can be between 1
and 10000
. This field will produce a limit error if the
operation falls out of bounds.public Integer getResolverCountLimit()
The maximum number of resolvers that can be invoked in a single request. The default value is 0
(or
unspecified), which will set the limit to 10000
. When specified, the limit value can be between
1
and 10000
. This field will produce a limit error if the operation falls out of
bounds.
0
(or unspecified), which will set the limit to 10000
. When specified, the
limit value can be between 1
and 10000
. This field will produce a limit error
if the operation falls out of bounds.public UpdateGraphqlApiRequest withResolverCountLimit(Integer resolverCountLimit)
The maximum number of resolvers that can be invoked in a single request. The default value is 0
(or
unspecified), which will set the limit to 10000
. When specified, the limit value can be between
1
and 10000
. This field will produce a limit error if the operation falls out of
bounds.
resolverCountLimit
- The maximum number of resolvers that can be invoked in a single request. The default value is
0
(or unspecified), which will set the limit to 10000
. When specified, the limit
value can be between 1
and 10000
. This field will produce a limit error if the
operation falls out of bounds.public void setEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The enhancedMetricsConfig
object.
enhancedMetricsConfig
- The enhancedMetricsConfig
object.public EnhancedMetricsConfig getEnhancedMetricsConfig()
The enhancedMetricsConfig
object.
enhancedMetricsConfig
object.public UpdateGraphqlApiRequest withEnhancedMetricsConfig(EnhancedMetricsConfig enhancedMetricsConfig)
The enhancedMetricsConfig
object.
enhancedMetricsConfig
- The enhancedMetricsConfig
object.public String toString()
toString
in class Object
Object.toString()
public UpdateGraphqlApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()