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 ConfirmProductInstanceResultclone()booleanequals(Object obj)StringgetOwnerId()The AWS account ID of the instance owner.BooleangetReturn()The return value of the request.inthashCode()BooleanisReturn()The return value of the request.voidsetOwnerId(String ownerId)The AWS account ID of the instance owner.voidsetReturn(Boolean returnValue)The return value of the request.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConfirmProductInstanceResultwithOwnerId(String ownerId)The AWS account ID of the instance owner.ConfirmProductInstanceResultwithReturn(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
trueif the specified product code is owned by the requester and associated with the specified instance.- Parameters:
returnValue- The return value of the request. Returnstrueif 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
trueif the specified product code is owned by the requester and associated with the specified instance.- Returns:
- The return value of the request. Returns
trueif 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
trueif the specified product code is owned by the requester and associated with the specified instance.- Parameters:
returnValue- The return value of the request. Returnstrueif 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
trueif the specified product code is owned by the requester and associated with the specified instance.- Returns:
- The return value of the request. Returns
trueif 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConfirmProductInstanceResult clone()
-
-