@Generated(value="software.amazon.awssdk:codegen") public class GraphqlApi extends Object implements StructuredPojo, ToCopyableBuilder<GraphqlApi.Builder,GraphqlApi>
Describes a GraphQL API.
Modifier and Type | Class and Description |
---|---|
static interface |
GraphqlApi.Builder |
Modifier and Type | Method and Description |
---|---|
String |
apiId()
The API ID.
|
String |
arn()
The ARN.
|
AuthenticationType |
authenticationType()
The authentication type.
|
String |
authenticationTypeString()
The authentication type.
|
static GraphqlApi.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The API name.
|
static Class<? extends GraphqlApi.Builder> |
serializableBuilderClass() |
GraphqlApi.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Map<String,String> |
uris()
The URIs.
|
UserPoolConfig |
userPoolConfig()
The Amazon Cognito User Pool configuration.
|
copy
public String name()
The API name.
public String apiId()
The API ID.
public 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 authenticationTypeString()
.
AuthenticationType
public String authenticationTypeString()
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 authenticationTypeString()
.
AuthenticationType
public UserPoolConfig userPoolConfig()
The Amazon Cognito User Pool configuration.
public String arn()
The ARN.
public Map<String,String> uris()
The URIs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GraphqlApi.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GraphqlApi.Builder,GraphqlApi>
public static GraphqlApi.Builder builder()
public static Class<? extends GraphqlApi.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.