@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUsagePlanKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a usage plan key to identify a plan customer.
Constructor and Description |
---|
CreateUsagePlanKeyResult() |
Modifier and Type | Method and Description |
---|---|
CreateUsagePlanKeyResult |
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.
|
CreateUsagePlanKeyResult |
withId(String id)
The Id of a usage plan key.
|
CreateUsagePlanKeyResult |
withName(String name)
The name of a usage plan key.
|
CreateUsagePlanKeyResult |
withType(String type)
The type of a usage plan key.
|
CreateUsagePlanKeyResult |
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 CreateUsagePlanKeyResult 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 CreateUsagePlanKeyResult 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 CreateUsagePlanKeyResult 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 CreateUsagePlanKeyResult 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 CreateUsagePlanKeyResult clone()