@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 OpenID Connect configuration.
|
Map<String,String> |
getUris()
The URIs.
|
UserPoolConfig |
getUserPoolConfig()
The Amazon Cognito user pool configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 OpenID 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.
|
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 |
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 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 String toString()
toString
in class Object
Object.toString()
public GraphqlApi clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.