Cloneable, ReadLimitInfo, ToCopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>@Generated("software.amazon.awssdk:codegen") public class ImportApiKeysRequest extends AmazonWebServiceRequest 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 | Description |
|---|---|---|
static interface |
ImportApiKeysRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
ByteBuffer |
body() |
The payload of the POST request to import API keys.
|
static ImportApiKeysRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Boolean |
failOnWarnings() |
A query parameter to indicate whether to rollback ApiKey importation (
true) or not (
false) when error is encountered. |
String |
format() |
A query parameter to specify the input format to imported API keys.
|
int |
hashCode() |
|
static Class<? extends ImportApiKeysRequest.Builder> |
serializableBuilderClass() |
|
ImportApiKeysRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic ByteBuffer body()
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public String format()
A query parameter to specify the input format to imported API keys. Currently, only the csv format
is supported.
csv
format is supported.ApiKeysFormatpublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ImportApiKeysRequest.Builder,ImportApiKeysRequest>public static ImportApiKeysRequest.Builder builder()
public static Class<? extends ImportApiKeysRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.