@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.
| 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. | 
| 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, setSdkResponseMetadatapublic 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 ObjectObject.toString()public GetUsagePlanKeyResult clone()