@Generated(value="software.amazon.awssdk:codegen") public final class ImportApiKeysRequest extends ApiGatewayRequest implements ToCopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>
The POST request to import API keys from an external source, such as a CSV-formatted file.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImportApiKeysRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
SdkBytes |
body()
The payload of the POST request to import API keys.
|
static ImportApiKeysRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
failOnWarnings()
A query parameter to indicate whether to rollback ApiKey importation (
true) or not (
false) when error is encountered. |
ApiKeysFormat |
format()
A query parameter to specify the input format to imported API keys.
|
String |
formatAsString()
A query parameter to specify the input format to imported API keys.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ImportApiKeysRequest.Builder> |
serializableBuilderClass() |
ImportApiKeysRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SdkBytes body()
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
public final ApiKeysFormat format()
A query parameter to specify the input format to imported API keys. Currently, only the csv format
is supported.
If the service returns an enum value that is not available in the current SDK version, format will
return ApiKeysFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
csv
format is supported.ApiKeysFormatpublic final String formatAsString()
A query parameter to specify the input format to imported API keys. Currently, only the csv format
is supported.
If the service returns an enum value that is not available in the current SDK version, format will
return ApiKeysFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
formatAsString().
csv
format is supported.ApiKeysFormatpublic final Boolean failOnWarnings()
A query parameter to indicate whether to rollback ApiKey importation (true) or not (
false) when error is encountered.
true) or not (
false) when error is encountered.public ImportApiKeysRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>toBuilder in class ApiGatewayRequestpublic static ImportApiKeysRequest.Builder builder()
public static Class<? extends ImportApiKeysRequest.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 © 2023. All rights reserved.