@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 |
addUrisEntry(String key,
String value) |
GraphqlApi |
clearUrisEntries()
Removes all the entries added into Uris.
|
GraphqlApi |
clone() |
boolean |
equals(Object obj) |
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 Open Id Connect configuration.
|
Map<String,String> |
getUris()
The URIs.
|
UserPoolConfig |
getUserPoolConfig()
The Amazon Cognito User Pool configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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 Open Id Connect configuration.
|
void |
setUris(Map<String,String> uris)
The URIs.
|
void |
setUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito User Pool configuration.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 Open Id Connect configuration.
|
GraphqlApi |
withUris(Map<String,String> uris)
The URIs.
|
GraphqlApi |
withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito User Pool configuration.
|
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 Open Id Connect configuration.
openIDConnectConfig - The Open Id Connect configuration.public OpenIDConnectConfig getOpenIDConnectConfig()
The Open Id Connect configuration.
public GraphqlApi withOpenIDConnectConfig(OpenIDConnectConfig openIDConnectConfig)
The Open Id Connect configuration.
openIDConnectConfig - The Open Id 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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.