@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProductCode extends Object implements Serializable, Cloneable
Describes a product code.
| Constructor and Description |
|---|
ProductCode() |
| Modifier and Type | Method and Description |
|---|---|
ProductCode |
clone() |
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.
|
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.
|
public void setProductCodeId(String productCodeId)
The product code.
productCodeId - The product code.public String getProductCodeId()
The product code.
public ProductCode withProductCodeId(String productCodeId)
The product code.
productCodeId - The product code.public void setProductCodeType(String productCodeType)
The type of product code.
productCodeType - The type of product code.ProductCodeValuespublic String getProductCodeType()
The type of product code.
ProductCodeValuespublic ProductCode withProductCodeType(String productCodeType)
The type of product code.
productCodeType - The type of product code.ProductCodeValuespublic void setProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType - The type of product code.ProductCodeValuespublic ProductCode withProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType - The type of product code.ProductCodeValuespublic String toString()
toString in class ObjectObject.toString()public ProductCode clone()