@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProductCode extends Object implements Serializable, Cloneable, StructuredPojo
Properties of a product code associated with a volume.
| Constructor and Description |
|---|
ProductCode() |
| Modifier and Type | Method and Description |
|---|---|
ProductCode |
clone() |
boolean |
equals(Object obj) |
String |
getProductCodeId()
Id of a product code associated with a volume.
|
String |
getProductCodeMode()
Mode of a product code associated with a volume.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setProductCodeId(String productCodeId)
Id of a product code associated with a volume.
|
void |
setProductCodeMode(String productCodeMode)
Mode of a product code associated with a volume.
|
String |
toString()
Returns a string representation of this object.
|
ProductCode |
withProductCodeId(String productCodeId)
Id of a product code associated with a volume.
|
ProductCode |
withProductCodeMode(ProductCodeMode productCodeMode)
Mode of a product code associated with a volume.
|
ProductCode |
withProductCodeMode(String productCodeMode)
Mode of a product code associated with a volume.
|
public void setProductCodeId(String productCodeId)
Id of a product code associated with a volume.
productCodeId - Id of a product code associated with a volume.public String getProductCodeId()
Id of a product code associated with a volume.
public ProductCode withProductCodeId(String productCodeId)
Id of a product code associated with a volume.
productCodeId - Id of a product code associated with a volume.public void setProductCodeMode(String productCodeMode)
Mode of a product code associated with a volume.
productCodeMode - Mode of a product code associated with a volume.ProductCodeModepublic String getProductCodeMode()
Mode of a product code associated with a volume.
ProductCodeModepublic ProductCode withProductCodeMode(String productCodeMode)
Mode of a product code associated with a volume.
productCodeMode - Mode of a product code associated with a volume.ProductCodeModepublic ProductCode withProductCodeMode(ProductCodeMode productCodeMode)
Mode of a product code associated with a volume.
productCodeMode - Mode of a product code associated with a volume.ProductCodeModepublic String toString()
toString in class ObjectObject.toString()public ProductCode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.