@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUsagePlanKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The POST request to create a usage plan key for adding an existing API key to a usage plan.
NOOP| Constructor and Description | 
|---|
CreateUsagePlanKeyRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateUsagePlanKeyRequest | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getKeyId()
 [Required] The identifier of a UsagePlanKey resource for a plan customer. 
 | 
String | 
getKeyType()
 [Required] The type of a UsagePlanKey resource for a plan customer. 
 | 
String | 
getUsagePlanId()
 [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created
 UsagePlanKey resource representing a plan customer. 
 | 
int | 
hashCode()  | 
void | 
setKeyId(String keyId)
 [Required] The identifier of a UsagePlanKey resource for a plan customer. 
 | 
void | 
setKeyType(String keyType)
 [Required] The type of a UsagePlanKey resource for a plan customer. 
 | 
void | 
setUsagePlanId(String usagePlanId)
 [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created
 UsagePlanKey resource representing a plan customer. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateUsagePlanKeyRequest | 
withKeyId(String keyId)
 [Required] The identifier of a UsagePlanKey resource for a plan customer. 
 | 
CreateUsagePlanKeyRequest | 
withKeyType(String keyType)
 [Required] The type of a UsagePlanKey resource for a plan customer. 
 | 
CreateUsagePlanKeyRequest | 
withUsagePlanId(String usagePlanId)
 [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created
 UsagePlanKey resource representing a plan customer. 
 | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setUsagePlanId(String usagePlanId)
[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the
        to-be-created UsagePlanKey resource representing a plan customer.public String getUsagePlanId()
[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
public CreateUsagePlanKeyRequest withUsagePlanId(String usagePlanId)
[Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
usagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the
        to-be-created UsagePlanKey resource representing a plan customer.public void setKeyId(String keyId)
[Required] The identifier of a UsagePlanKey resource for a plan customer.
keyId - [Required] The identifier of a UsagePlanKey resource for a plan customer.public String getKeyId()
[Required] The identifier of a UsagePlanKey resource for a plan customer.
public CreateUsagePlanKeyRequest withKeyId(String keyId)
[Required] The identifier of a UsagePlanKey resource for a plan customer.
keyId - [Required] The identifier of a UsagePlanKey resource for a plan customer.public void setKeyType(String keyType)
[Required] The type of a UsagePlanKey resource for a plan customer.
keyType - [Required] The type of a UsagePlanKey resource for a plan customer.public String getKeyType()
[Required] The type of a UsagePlanKey resource for a plan customer.
public CreateUsagePlanKeyRequest withKeyType(String keyType)
[Required] The type of a UsagePlanKey resource for a plan customer.
keyType - [Required] The type of a UsagePlanKey resource for a plan customer.public String toString()
toString in class ObjectObject.toString()public CreateUsagePlanKeyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.