@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.
|
String |
getName()
The API name.
|
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 |
setName(String name)
The API name.
|
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 |
withName(String name)
The API name.
|
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.AuthenticationType
public String getAuthenticationType()
The authentication type.
AuthenticationType
public GraphqlApi withAuthenticationType(String authenticationType)
The authentication type.
authenticationType
- The authentication type.AuthenticationType
public GraphqlApi withAuthenticationType(AuthenticationType authenticationType)
The authentication type.
authenticationType
- The authentication type.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 GraphqlApi withUserPoolConfig(UserPoolConfig userPoolConfig)
The Amazon Cognito User Pool configuration.
userPoolConfig
- The Amazon Cognito User Pool 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 Object
Object.toString()
public GraphqlApi clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.