@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUpgradeHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for response returned by GetUpgradeHistory
operation.
Constructor and Description |
---|
GetUpgradeHistoryResult() |
Modifier and Type | Method and Description |
---|---|
GetUpgradeHistoryResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Pagination token that needs to be supplied to the next call to get the next page of results
|
List<UpgradeHistory> |
getUpgradeHistories()
A list of
UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse object. |
int |
hashCode() |
void |
setNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results
|
void |
setUpgradeHistories(Collection<UpgradeHistory> upgradeHistories)
A list of
UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse object. |
String |
toString()
Returns a string representation of this object.
|
GetUpgradeHistoryResult |
withNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results
|
GetUpgradeHistoryResult |
withUpgradeHistories(Collection<UpgradeHistory> upgradeHistories)
A list of
UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse object. |
GetUpgradeHistoryResult |
withUpgradeHistories(UpgradeHistory... upgradeHistories)
A list of
UpgradeHistory objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse object. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UpgradeHistory> getUpgradeHistories()
A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse
object.
UpgradeHistory
objects corresponding to each Upgrade or Upgrade
Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.public void setUpgradeHistories(Collection<UpgradeHistory> upgradeHistories)
A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse
object.
upgradeHistories
- A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade
Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.public GetUpgradeHistoryResult withUpgradeHistories(UpgradeHistory... upgradeHistories)
A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse
object.
NOTE: This method appends the values to the existing list (if any). Use
setUpgradeHistories(java.util.Collection)
or withUpgradeHistories(java.util.Collection)
if you
want to override the existing values.
upgradeHistories
- A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade
Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.public GetUpgradeHistoryResult withUpgradeHistories(Collection<UpgradeHistory> upgradeHistories)
A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade Eligibility Check
performed on a domain returned as part of GetUpgradeHistoryResponse
object.
upgradeHistories
- A list of UpgradeHistory
objects corresponding to each Upgrade or Upgrade
Eligibility Check performed on a domain returned as part of
GetUpgradeHistoryResponse
object.public void setNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results
nextToken
- Pagination token that needs to be supplied to the next call to get the next page of resultspublic String getNextToken()
Pagination token that needs to be supplied to the next call to get the next page of results
public GetUpgradeHistoryResult withNextToken(String nextToken)
Pagination token that needs to be supplied to the next call to get the next page of results
nextToken
- Pagination token that needs to be supplied to the next call to get the next page of resultspublic String toString()
toString
in class Object
Object.toString()
public GetUpgradeHistoryResult clone()