Class CreateApiKeyRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.CreateApiKeyRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Request to create an ApiKey resource.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe description of the ApiKey.Specifies whether the ApiKey can be used by callers.getName()The name of the ApiKey.Specifies whether the ApiKey can be used by callers.inthashCode()Specifies whether the ApiKey can be used by callers.voidsetDescription(String description) The description of the ApiKey.voidsetEnabled(Boolean enabled) Specifies whether the ApiKey can be used by callers.voidThe name of the ApiKey.voidsetStageKeys(Collection<StageKey> stageKeys) Specifies whether the ApiKey can be used by callers.toString()Returns a string representation of this object; useful for testing and debugging.withDescription(String description) The description of the ApiKey.withEnabled(Boolean enabled) Specifies whether the ApiKey can be used by callers.The name of the ApiKey.withStageKeys(StageKey... stageKeys) Specifies whether the ApiKey can be used by callers.withStageKeys(Collection<StageKey> stageKeys) Specifies whether the ApiKey can be used by callers.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateApiKeyRequest
public CreateApiKeyRequest()
-
-
Method Details
-
setName
-
getName
-
withName
-
setDescription
-
getDescription
-
withDescription
-
setEnabled
-
getEnabled
-
withEnabled
-
isEnabled
-
getStageKeys
-
setStageKeys
-
withStageKeys
Specifies whether the ApiKey can be used by callers.
NOTE: This method appends the values to the existing list (if any). Use
setStageKeys(java.util.Collection)orwithStageKeys(java.util.Collection)if you want to override the existing values.- Parameters:
stageKeys- Specifies whether the ApiKey can be used by callers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withStageKeys
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-