public class ConfirmProductInstanceResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of ConfirmProductInstance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ownerId
The AWS account ID of the instance owner.
|
private java.lang.Boolean |
returnValue
The return value of the request.
|
Constructor and Description |
---|
ConfirmProductInstanceResult() |
Modifier and Type | Method and Description |
---|---|
ConfirmProductInstanceResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOwnerId()
The AWS account ID of the instance owner.
|
java.lang.Boolean |
getReturn()
The return value of the request.
|
int |
hashCode() |
java.lang.Boolean |
isReturn()
The return value of the request.
|
void |
setOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner.
|
void |
setReturn(java.lang.Boolean returnValue)
The return value of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmProductInstanceResult |
withOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner.
|
ConfirmProductInstanceResult |
withReturn(java.lang.Boolean returnValue)
The return value of the request.
|
private java.lang.String ownerId
The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
private java.lang.Boolean returnValue
The return value of the request. Returns true
if the
specified product code is owned by the requester and associated with the
specified instance.
public void setOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
ownerId
- The AWS account ID of the instance owner. This is only present if
the product code is attached to the instance.public java.lang.String getOwnerId()
The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
public ConfirmProductInstanceResult withOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
ownerId
- The AWS account ID of the instance owner. This is only present if
the product code is attached to the instance.public void setReturn(java.lang.Boolean returnValue)
The return value of the request. Returns true
if the
specified product code is owned by the requester and associated with the
specified instance.
returnValue
- The return value of the request. Returns true
if the
specified product code is owned by the requester and associated
with the specified instance.public java.lang.Boolean getReturn()
The return value of the request. Returns true
if the
specified product code is owned by the requester and associated with the
specified instance.
true
if the
specified product code is owned by the requester and associated
with the specified instance.public ConfirmProductInstanceResult withReturn(java.lang.Boolean returnValue)
The return value of the request. Returns true
if the
specified product code is owned by the requester and associated with the
specified instance.
returnValue
- The return value of the request. Returns true
if the
specified product code is owned by the requester and associated
with the specified instance.public java.lang.Boolean isReturn()
The return value of the request. Returns true
if the
specified product code is owned by the requester and associated with the
specified instance.
true
if the
specified product code is owned by the requester and associated
with the specified instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConfirmProductInstanceResult clone()
clone
in class java.lang.Object