@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUpgradeHistoryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Container for the response returned by the 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 the 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 the 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 the 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 the 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 the GetUpgradeHistoryResponse
object.
UpgradeHistory
objects corresponding to each upgrade or upgrade
eligibility check performed on a domain returned as part of the
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 the GetUpgradeHistoryResponse
object.
upgradeHistories
- A list of UpgradeHistory
objects corresponding to each upgrade or upgrade
eligibility check performed on a domain returned as part of the
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 the 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 the
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 the GetUpgradeHistoryResponse
object.
upgradeHistories
- A list of UpgradeHistory
objects corresponding to each upgrade or upgrade
eligibility check performed on a domain returned as part of the
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 results.public 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 results.public String toString()
toString
in class Object
Object.toString()
public GetUpgradeHistoryResult clone()