Package com.amazonaws.services.ec2.model
Class ProductCode
java.lang.Object
com.amazonaws.services.ec2.model.ProductCode
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a product code.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The product code.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.toString()
Returns a string representation of this object; useful for testing and debugging.withProductCodeId
(String productCodeId) The product code.withProductCodeType
(ProductCodeValues productCodeType) The type of product code.withProductCodeType
(String productCodeType) The type of product code.
-
Constructor Details
-
ProductCode
public ProductCode()
-
-
Method Details
-
setProductCodeId
The product code.
- Parameters:
productCodeId
- The product code.
-
getProductCodeId
The product code.
- Returns:
- The product code.
-
withProductCodeId
The product code.
- Parameters:
productCodeId
- The product code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProductCodeType
The type of product code.
- Parameters:
productCodeType
- The type of product code.- See Also:
-
getProductCodeType
The type of product code.
- Returns:
- The type of product code.
- See Also:
-
withProductCodeType
The type of product code.
- Parameters:
productCodeType
- The type of product code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setProductCodeType
The type of product code.
- Parameters:
productCodeType
- The type of product code.- See Also:
-
withProductCodeType
The type of product code.
- Parameters:
productCodeType
- The type of product code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-