@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyId()
The identifier of a UsagePlanKey resource for a plan customer.
|
String |
getKeyType()
The type of a UsagePlanKey resource for a plan customer.
|
String |
getUsagePlanId()
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)
The identifier of a UsagePlanKey resource for a plan customer.
|
void |
setKeyType(String keyType)
The type of a UsagePlanKey resource for a plan customer.
|
void |
setUsagePlanId(String usagePlanId)
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; useful for testing and debugging.
|
CreateUsagePlanKeyRequest |
withKeyId(String keyId)
The identifier of a UsagePlanKey resource for a plan customer.
|
CreateUsagePlanKeyRequest |
withKeyType(String keyType)
The type of a UsagePlanKey resource for a plan customer.
|
CreateUsagePlanKeyRequest |
withUsagePlanId(String usagePlanId)
The Id of the UsagePlan resource representing the usage plan containing the to-be-created
UsagePlanKey resource representing a plan customer.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setUsagePlanId(String usagePlanId)
The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
usagePlanId
- The Id of the UsagePlan resource representing the usage plan containing the to-be-created
UsagePlanKey resource representing a plan customer.public String getUsagePlanId()
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)
The Id of the UsagePlan resource representing the usage plan containing the to-be-created UsagePlanKey resource representing a plan customer.
usagePlanId
- 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)
The identifier of a UsagePlanKey resource for a plan customer.
keyId
- The identifier of a UsagePlanKey resource for a plan customer.public String getKeyId()
The identifier of a UsagePlanKey resource for a plan customer.
public CreateUsagePlanKeyRequest withKeyId(String keyId)
The identifier of a UsagePlanKey resource for a plan customer.
keyId
- The identifier of a UsagePlanKey resource for a plan customer.public void setKeyType(String keyType)
The type of a UsagePlanKey resource for a plan customer.
keyType
- The type of a UsagePlanKey resource for a plan customer.public String getKeyType()
The type of a UsagePlanKey resource for a plan customer.
public CreateUsagePlanKeyRequest withKeyType(String keyType)
The type of a UsagePlanKey resource for a plan customer.
keyType
- The type of a UsagePlanKey resource for a plan customer.public String toString()
toString
in class Object
Object.toString()
public CreateUsagePlanKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.