@Generated(value="software.amazon.awssdk:codegen") public final class GraphqlApi extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GraphqlApi.Builder,GraphqlApi>
Describes a GraphQL API.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GraphqlApi.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AdditionalAuthenticationProvider> |
additionalAuthenticationProviders()
A list of additional authentication providers for the
GraphqlApi API. |
String |
apiId()
The API ID.
|
String |
arn()
The Amazon Resource Name (ARN).
|
AuthenticationType |
authenticationType()
The authentication type.
|
String |
authenticationTypeAsString()
The authentication type.
|
static GraphqlApi.Builder |
builder() |
Map<String,String> |
dns()
The DNS records for the API.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalAuthenticationProviders()
For responses, this returns true if the service returned a value for the AdditionalAuthenticationProviders
property.
|
boolean |
hasDns()
For responses, this returns true if the service returned a value for the Dns property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
boolean |
hasUris()
For responses, this returns true if the service returned a value for the Uris property.
|
LambdaAuthorizerConfig |
lambdaAuthorizerConfig()
Configuration for Lambda function authorization.
|
LogConfig |
logConfig()
The Amazon CloudWatch Logs configuration.
|
String |
name()
The API name.
|
OpenIDConnectConfig |
openIDConnectConfig()
The OpenID Connect configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GraphqlApi.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
The tags.
|
GraphqlApi.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Map<String,String> |
uris()
The URIs.
|
UserPoolConfig |
userPoolConfig()
The Amazon Cognito user pool configuration.
|
GraphQLApiVisibility |
visibility()
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
String |
visibilityAsString()
Sets the value of the GraphQL API to public (
GLOBAL) or private (PRIVATE). |
String |
wafWebAclArn()
The ARN of the WAF access control list (ACL) associated with this
GraphqlApi, if one exists. |
Boolean |
xrayEnabled()
A flag indicating whether to use X-Ray tracing for this
GraphqlApi. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The API name.
public final String apiId()
The API ID.
public final AuthenticationType authenticationType()
The authentication type.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic final String authenticationTypeAsString()
The authentication type.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic final LogConfig logConfig()
The Amazon CloudWatch Logs configuration.
public final UserPoolConfig userPoolConfig()
The Amazon Cognito user pool configuration.
public final OpenIDConnectConfig openIDConnectConfig()
The OpenID Connect configuration.
public final String arn()
The Amazon Resource Name (ARN).
public final boolean hasUris()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> uris()
The URIs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUris() method.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final boolean hasAdditionalAuthenticationProviders()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<AdditionalAuthenticationProvider> additionalAuthenticationProviders()
A list of additional authentication providers for the GraphqlApi API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalAuthenticationProviders()
method.
GraphqlApi API.public final Boolean xrayEnabled()
A flag indicating whether to use X-Ray tracing for this GraphqlApi.
GraphqlApi.public final String wafWebAclArn()
The ARN of the WAF access control list (ACL) associated with this GraphqlApi, if one exists.
GraphqlApi, if one exists.public final LambdaAuthorizerConfig lambdaAuthorizerConfig()
Configuration for Lambda function authorization.
public final boolean hasDns()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> dns()
The DNS records for the API.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDns() method.
public final 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.
If the service returns an enum value that is not available in the current SDK version, visibility will
return GraphQLApiVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from visibilityAsString().
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.GraphQLApiVisibilitypublic final String visibilityAsString()
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.
If the service returns an enum value that is not available in the current SDK version, visibility will
return GraphQLApiVisibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from visibilityAsString().
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.GraphQLApiVisibilitypublic GraphqlApi.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GraphqlApi.Builder,GraphqlApi>public static GraphqlApi.Builder builder()
public static Class<? extends GraphqlApi.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.