com.amazonaws.services.ec2.model
Class ProductCode

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ProductCode

public class ProductCode
extends Object

An AWS DevPay product code.


Constructor Summary
ProductCode()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getProductCodeId()
          The unique ID of an AWS DevPay product code.
 String getProductCodeType()
          Returns the value of the ProductCodeType property for this object.
 int hashCode()
           
 void setProductCodeId(String productCodeId)
          The unique ID of an AWS DevPay product code.
 void setProductCodeType(String productCodeType)
          Sets the value of the ProductCodeType property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ProductCode withProductCodeId(String productCodeId)
          The unique ID of an AWS DevPay product code.
 ProductCode withProductCodeType(String productCodeType)
          Sets the value of the ProductCodeType property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductCode

public ProductCode()
Method Detail

getProductCodeId

public String getProductCodeId()
The unique ID of an AWS DevPay product code.

Returns:
The unique ID of an AWS DevPay product code.

setProductCodeId

public void setProductCodeId(String productCodeId)
The unique ID of an AWS DevPay product code.

Parameters:
productCodeId - The unique ID of an AWS DevPay product code.

withProductCodeId

public ProductCode withProductCodeId(String productCodeId)
The unique ID of an AWS DevPay product code.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productCodeId - The unique ID of an AWS DevPay product code.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductCodeType

public String getProductCodeType()
Returns the value of the ProductCodeType property for this object.

Returns:
The value of the ProductCodeType property for this object.

setProductCodeType

public void setProductCodeType(String productCodeType)
Sets the value of the ProductCodeType property for this object.

Parameters:
productCodeType - The new value for the ProductCodeType property for this object.

withProductCodeType

public ProductCode withProductCodeType(String productCodeType)
Sets the value of the ProductCodeType property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productCodeType - The new value for the ProductCodeType property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.