@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()
From the creation time, the 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 final String apiId()
The ID for your GraphQL API.
public final String description()
A description of the purpose of the API key.
public final Long expires()
From the creation time, the 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.