@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GraphqlApi extends Object implements Serializable, Cloneable, StructuredPojo
Describes a GraphQL API.
| Constructor and Description |
|---|
GraphqlApi() |
| Modifier and Type | Method and Description |
|---|---|
GraphqlApi |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GraphqlApi |
addUrisEntry(String key,
String value)
Add a single Uris entry
|
GraphqlApi |
clearTagsEntries()
Removes all the entries added into Tags.
|
GraphqlApi |
clearUrisEntries()
Removes all the entries added into Uris.
|
GraphqlApi |
clone() |
boolean |
equals(Object obj) |
List<AdditionalAuthenticationProvider> |
getAdditionalAuthenticationProviders()
A list of additional authentication providers for the
GraphqlApi API. |
String |
getApiId()
The API ID.
|
String |
getArn()
The ARN.
|
String |
getAuthenticationType()
The authentication type.
|
LogConfig |
getLogConfig()
The Amazon CloudWatch Logs configuration.
|
String |
getName()
The API name.
|
OpenIDConnectConfig |
getOpenIDConnectConfig()
The OpenID Connect configuration.
|
Map<String,String> |
getTags()
The tags.
|
Map<String,String> |
getUris()
The URIs.
|
UserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
Boolean |
getXrayEnabled()
A flag representing whether X-Ray tracing is enabled for this
GraphqlApi. |
int |
hashCode() |
Boolean |
isXrayEnabled()
A flag representing whether X-Ray tracing is enabled for this
GraphqlApi. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
void |
setApiId(String apiId)
The API ID.
|
void |
setArn(String arn)
The ARN.
|
void |
setAuthenticationType(String authenticationType)
The authentication type.
|
void |
setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
void |
setName(String name)
The API name.
|
void |
setOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
|
void |
setTags(Map<String,String> tags)
The tags.
|
void |
setUris(Map<String,String> uris)
The URIs.
|
void |
setUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
void |
setXrayEnabled(Boolean xrayEnabled)
A flag representing whether X-Ray tracing is enabled for this
GraphqlApi. |
String |
toString()
Returns a string representation of this object.
|
GraphqlApi |
withAdditionalAuthenticationProviders(AdditionalAuthenticationProvider... additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
GraphqlApi |
withAdditionalAuthenticationProviders(Collection<AdditionalAuthenticationProvider> additionalAuthenticationProviders)
A list of additional authentication providers for the
GraphqlApi API. |
GraphqlApi |
withApiId(String apiId)
The API ID.
|
GraphqlApi |
withArn(String arn)
The ARN.
|
GraphqlApi |
withAuthenticationType(AuthenticationType authenticationType)
The authentication type.
|
GraphqlApi |
withAuthenticationType(String authenticationType)
The authentication type.
|
GraphqlApi |
withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
|
GraphqlApi |
withName(String name)
The API name.
|
GraphqlApi |
withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
|
GraphqlApi |
withTags(Map<String,String> tags)
The tags.
|
GraphqlApi |
withUris(Map<String,String> uris)
The URIs.
|
GraphqlApi |
withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito user pool configuration.
|
GraphqlApi |
withXrayEnabled(Boolean xrayEnabled)
A flag representing whether X-Ray tracing is enabled for this
GraphqlApi. |
public void setName(String name)
The API name.
name - The API name.public String getName()
The API name.
public GraphqlApi withName(String name)
The API name.
name - The API name.public void setApiId(String apiId)
The API ID.
apiId - The API ID.public String getApiId()
The API ID.
public GraphqlApi withApiId(String apiId)
The API ID.
apiId - The API ID.public void setAuthenticationType(String authenticationType)
The authentication type.
authenticationType - The authentication type.AuthenticationTypepublic String getAuthenticationType()
The authentication type.
AuthenticationTypepublic GraphqlApi withAuthenticationType(String authenticationType)
The authentication type.
authenticationType - The authentication type.AuthenticationTypepublic GraphqlApi withAuthenticationType(AuthenticationType authenticationType)
The authentication type.
authenticationType - The authentication type.AuthenticationTypepublic void setLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig - The Amazon CloudWatch Logs configuration.public LogConfig getLogConfig()
The Amazon CloudWatch Logs configuration.
public GraphqlApi withLogConfig(LogConfig logConfig)
The Amazon CloudWatch Logs configuration.
logConfig - The Amazon CloudWatch Logs configuration.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 GraphqlApi 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 GraphqlApi withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The OpenID Connect configuration.
openIDConnectConfig - The OpenID Connect configuration.public void setArn(String arn)
The ARN.
arn - The ARN.public String getArn()
The ARN.
public GraphqlApi withArn(String arn)
The ARN.
arn - The ARN.public GraphqlApi withUris(Map<String,String> uris)
The URIs.
uris - The URIs.public GraphqlApi addUrisEntry(String key, String value)
public GraphqlApi clearUrisEntries()
public GraphqlApi withTags(Map<String,String> tags)
The tags.
tags - The tags.public GraphqlApi addTagsEntry(String key, String value)
public GraphqlApi 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 GraphqlApi 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 GraphqlApi 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 representing whether X-Ray tracing is enabled for this GraphqlApi.
xrayEnabled - A flag representing whether X-Ray tracing is enabled for this GraphqlApi.public Boolean getXrayEnabled()
A flag representing whether X-Ray tracing is enabled for this GraphqlApi.
GraphqlApi.public GraphqlApi withXrayEnabled(Boolean xrayEnabled)
A flag representing whether X-Ray tracing is enabled for this GraphqlApi.
xrayEnabled - A flag representing whether X-Ray tracing is enabled for this GraphqlApi.public Boolean isXrayEnabled()
A flag representing whether X-Ray tracing is enabled for this GraphqlApi.
GraphqlApi.public String toString()
toString in class ObjectObject.toString()public GraphqlApi clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.