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