|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.ProductCode
public class ProductCode
Describes a product code.
| Constructor Summary | |
|---|---|
ProductCode()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getProductCodeId()
The product code. |
java.lang.String |
getProductCodeType()
The type of product code. |
int |
hashCode()
|
void |
setProductCodeId(java.lang.String productCodeId)
The product code. |
void |
setProductCodeType(ProductCodeValues productCodeType)
The type of product code. |
void |
setProductCodeType(java.lang.String productCodeType)
The type of product code. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ProductCode |
withProductCodeId(java.lang.String productCodeId)
The product code. |
ProductCode |
withProductCodeType(ProductCodeValues productCodeType)
The type of product code. |
ProductCode |
withProductCodeType(java.lang.String productCodeType)
The type of product code. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProductCode()
| Method Detail |
|---|
public java.lang.String getProductCodeId()
public void setProductCodeId(java.lang.String productCodeId)
productCodeId - The product code.public ProductCode withProductCodeId(java.lang.String productCodeId)
Returns a reference to this object so that method calls can be chained together.
productCodeId - The product code.
public java.lang.String getProductCodeType()
Constraints:
Allowed Values: devpay, marketplace
ProductCodeValuespublic void setProductCodeType(java.lang.String productCodeType)
Constraints:
Allowed Values: devpay, marketplace
productCodeType - The type of product code.ProductCodeValuespublic ProductCode withProductCodeType(java.lang.String productCodeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: devpay, marketplace
productCodeType - The type of product code.
ProductCodeValuespublic void setProductCodeType(ProductCodeValues productCodeType)
Constraints:
Allowed Values: devpay, marketplace
productCodeType - The type of product code.ProductCodeValuespublic ProductCode withProductCodeType(ProductCodeValues productCodeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: devpay, marketplace
productCodeType - The type of product code.
ProductCodeValuespublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||