|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ConfirmProductInstanceRequest
public class ConfirmProductInstanceRequest
A request to verify whether an Amazon DevPay product code is associated with an instance.
This can only be executed by the owner of the AMI and is useful when an AMI owner wants to verify whether a user's instance is eligible for support.
Constructor Summary | |
---|---|
ConfirmProductInstanceRequest()
|
Method Summary | |
---|---|
String |
getInstanceId()
The ID of the instance to confirm. |
String |
getProductCode()
The product code to confirm. |
void |
setInstanceId(String instanceId)
The ID of the instance to confirm. |
void |
setProductCode(String productCode)
The product code to confirm. |
String |
toString()
|
ConfirmProductInstanceRequest |
withInstanceId(String instanceId)
The ID of the instance to confirm. |
ConfirmProductInstanceRequest |
withProductCode(String productCode)
The product code to confirm. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfirmProductInstanceRequest()
Method Detail |
---|
public String getProductCode()
public void setProductCode(String productCode)
productCode
- The product code to confirm.public ConfirmProductInstanceRequest withProductCode(String productCode)
Returns a reference to this object so that method calls can be chained together.
productCode
- The product code to confirm.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The ID of the instance to confirm.public ConfirmProductInstanceRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance to confirm.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |