@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfirmProductInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ConfirmProductInstanceResult() |
Modifier and Type | Method and Description |
---|---|
ConfirmProductInstanceResult |
clone() |
boolean |
equals(Object obj) |
String |
getOwnerId()
The Amazon Web Services account ID of the instance owner.
|
Boolean |
getReturn()
The return value of the request.
|
int |
hashCode() |
Boolean |
isReturn()
The return value of the request.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the instance owner.
|
void |
setReturn(Boolean returnValue)
The return value of the request.
|
String |
toString()
Returns a string representation of this object.
|
ConfirmProductInstanceResult |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the instance owner.
|
ConfirmProductInstanceResult |
withReturn(Boolean returnValue)
The return value of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the instance owner. This is only present if the product code is attached to the instance.
ownerId
- The Amazon Web Services account ID of the instance owner. This is only present if the product code is
attached to the instance.public String getOwnerId()
The Amazon Web Services account ID of the instance owner. This is only present if the product code is attached to the instance.
public ConfirmProductInstanceResult withOwnerId(String ownerId)
The Amazon Web Services account ID of the instance owner. This is only present if the product code is attached to the instance.
ownerId
- The Amazon Web Services account ID of the instance owner. This is only present if the product code is
attached to the instance.public void setReturn(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public ConfirmProductInstanceResult clone()