Class ConfirmProductInstanceResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ConfirmProductInstanceResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ConfirmProductInstanceResult extends Object implements Serializable, Cloneable
Contains the output of ConfirmProductInstance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfirmProductInstanceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setOwnerId
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.
- Parameters:
ownerId
- The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
-
getOwnerId
public String getOwnerId()
The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
- Returns:
- The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.
-
withOwnerId
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.
- Parameters:
ownerId
- The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReturn
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.- Parameters:
returnValue
- The return value of the request. Returnstrue
if the specified product code is owned by the requester and associated with the specified instance.
-
getReturn
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.- Returns:
- The return value of the request. Returns
true
if the specified product code is owned by the requester and associated with the specified instance.
-
withReturn
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.- Parameters:
returnValue
- The return value of the request. Returnstrue
if the specified product code is owned by the requester and associated with the specified instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReturn
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.- Returns:
- The return value of the request. Returns
true
if the specified product code is owned by the requester and associated with the specified instance.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfirmProductInstanceResult clone()
-
-