@Generated(value="software.amazon.awssdk:codegen") public final class CreateApiKeyRequest extends AppSyncRequest implements ToCopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateApiKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
apiId()
The ID for your GraphQL API.
|
static CreateApiKeyRequest.Builder |
builder() |
String |
description()
A description of the purpose of the API key.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
expires()
The time from creation time after which the API key expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateApiKeyRequest.Builder> |
serializableBuilderClass() |
CreateApiKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String apiId()
The ID for your GraphQL API.
public String description()
A description of the purpose of the API key.
public Long expires()
The time from creation time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .
public CreateApiKeyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>toBuilder in class AppSyncRequestpublic static CreateApiKeyRequest.Builder builder()
public static Class<? extends CreateApiKeyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.