Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateApiKeyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
Request to create an ApiKey resource.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateApiKeyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateApiKeyRequest.Builder |
builder() |
|
String |
customerId() |
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
|
String |
description() |
The description of the ApiKey.
|
Boolean |
enabled() |
Specifies whether the ApiKey can be used by callers.
|
boolean |
equals(Object obj) |
|
Boolean |
generateDistinctId() |
Specifies whether (
true ) or not (false ) the key identifier is distinct from the created
API key value. |
int |
hashCode() |
|
String |
name() |
The name of the ApiKey.
|
static Class<? extends CreateApiKeyRequest.Builder> |
serializableBuilderClass() |
|
List<StageKey> |
stageKeys() |
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
|
CreateApiKeyRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
value() |
Specifies a value of the API key.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String description()
The description of the ApiKey.
public Boolean enabled()
Specifies whether the ApiKey can be used by callers.
public Boolean generateDistinctId()
Specifies whether (true
) or not (false
) the key identifier is distinct from the created
API key value.
true
) or not (false
) the key identifier is distinct from the
created API key value.public String value()
Specifies a value of the API key.
public List<StageKey> stageKeys()
DEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.
public String customerId()
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
public CreateApiKeyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
public static CreateApiKeyRequest.Builder builder()
public static Class<? extends CreateApiKeyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.