@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.ProductCodeValues
public String getProductCodeType()
The type of product code.
ProductCodeValues
public ProductCode withProductCodeType(String productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public void setProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public ProductCode withProductCodeType(ProductCodeValues productCodeType)
The type of product code.
productCodeType
- The type of product code.ProductCodeValues
public String toString()
toString
in class Object
Object.toString()
public ProductCode clone()