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.
 int hashCode()
           
 void setProductCodeId(String productCodeId)
          The unique ID of an AWS DevPay product code.
 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.
 
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.

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.