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:
  • Constructor Details

    • ConfirmProductInstanceResult

      public ConfirmProductInstanceResult()
  • Method Details

    • 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. Returns true 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. Returns true 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object