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()booleanThe product code.The type of product code.inthashCode()voidsetProductCodeId(String productCodeId) The product code.voidsetProductCodeType(ProductCodeValues productCodeType) The type of product code.voidsetProductCodeType(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
-
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
-
equals
-
hashCode
-
clone
-