@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfirmProductInstanceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of ConfirmProductInstance.
Constructor and Description |
---|
ConfirmProductInstanceResult() |
Modifier and Type | Method and Description |
---|---|
ConfirmProductInstanceResult |
clone() |
boolean |
equals(Object obj) |
String |
getOwnerId()
The AWS 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 AWS 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; useful for testing and debugging.
|
ConfirmProductInstanceResult |
withOwnerId(String ownerId)
The AWS 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 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 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(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(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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.