public class ConfirmProductInstanceResult extends Object implements Serializable, Cloneable
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.
|
public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId
- 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)
Returns a reference to this object so that method calls can be chained together.
ownerId
- The AWS account ID of the instance owner. This is only present if the
product code is attached to the instance.public Boolean isReturn()
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 void setReturn(Boolean returnValue)
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 ConfirmProductInstanceResult withReturn(Boolean returnValue)
true
if the
specified product code is owned by the requester and associated with
the specified instance.
Returns a reference to this object so that method calls can be chained together.
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()
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 © 2015. All rights reserved.