@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsagePlanKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a usage plan key to identify a plan customer.
To associate an API stage with a selected API key in a usage plan, you must create a UsagePlanKey resource to represent the selected ApiKey.
Constructor and Description |
---|
GetUsagePlanKeyResult() |
Modifier and Type | Method and Description |
---|---|
GetUsagePlanKeyResult |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The Id of a usage plan key.
|
String |
getName()
The name of a usage plan key.
|
String |
getType()
The type of a usage plan key.
|
String |
getValue()
The value of a usage plan key.
|
int |
hashCode() |
void |
setId(String id)
The Id of a usage plan key.
|
void |
setName(String name)
The name of a usage plan key.
|
void |
setType(String type)
The type of a usage plan key.
|
void |
setValue(String value)
The value of a usage plan key.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetUsagePlanKeyResult |
withId(String id)
The Id of a usage plan key.
|
GetUsagePlanKeyResult |
withName(String name)
The name of a usage plan key.
|
GetUsagePlanKeyResult |
withType(String type)
The type of a usage plan key.
|
GetUsagePlanKeyResult |
withValue(String value)
The value of a usage plan key.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The Id of a usage plan key.
id
- The Id of a usage plan key.public String getId()
The Id of a usage plan key.
public GetUsagePlanKeyResult withId(String id)
The Id of a usage plan key.
id
- The Id of a usage plan key.public void setType(String type)
The type of a usage plan key. Currently, the valid key type is API_KEY
.
type
- The type of a usage plan key. Currently, the valid key type is API_KEY
.public String getType()
The type of a usage plan key. Currently, the valid key type is API_KEY
.
API_KEY
.public GetUsagePlanKeyResult withType(String type)
The type of a usage plan key. Currently, the valid key type is API_KEY
.
type
- The type of a usage plan key. Currently, the valid key type is API_KEY
.public void setValue(String value)
The value of a usage plan key.
value
- The value of a usage plan key.public String getValue()
The value of a usage plan key.
public GetUsagePlanKeyResult withValue(String value)
The value of a usage plan key.
value
- The value of a usage plan key.public void setName(String name)
The name of a usage plan key.
name
- The name of a usage plan key.public String getName()
The name of a usage plan key.
public GetUsagePlanKeyResult withName(String name)
The name of a usage plan key.
name
- The name of a usage plan key.public String toString()
toString
in class Object
Object.toString()
public GetUsagePlanKeyResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.