public class ConfirmProductInstanceResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of ConfirmProductInstance.
Constructor and Description |
---|
ConfirmProductInstanceResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getOwnerId()
The AWS account ID of the instance owner.
|
java.lang.Boolean |
getReturn()
The return value of the request.
|
int |
hashCode() |
java.lang.Boolean |
isReturn()
The return value of the request.
|
void |
setOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner.
|
void |
setReturn(java.lang.Boolean returnValue)
The return value of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConfirmProductInstanceResult |
withOwnerId(java.lang.String ownerId)
The AWS account ID of the instance owner.
|
ConfirmProductInstanceResult |
withReturn(java.lang.Boolean returnValue)
The return value of the request.
|
public java.lang.String getOwnerId()
public void setOwnerId(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.