@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecoveryGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecoveryGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListRecoveryGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
List<RecoveryGroupOutput> |
getRecoveryGroups()
A list of RecoveryGroups
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
void |
setRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of RecoveryGroups
|
String |
toString()
Returns a string representation of this object.
|
ListRecoveryGroupsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
ListRecoveryGroupsResult |
withRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of RecoveryGroups
|
ListRecoveryGroupsResult |
withRecoveryGroups(RecoveryGroupOutput... recoveryGroups)
A list of RecoveryGroups
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListRecoveryGroupsResult withNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public List<RecoveryGroupOutput> getRecoveryGroups()
public void setRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
recoveryGroups
- A list of RecoveryGroupspublic ListRecoveryGroupsResult withRecoveryGroups(RecoveryGroupOutput... recoveryGroups)
NOTE: This method appends the values to the existing list (if any). Use
setRecoveryGroups(java.util.Collection)
or withRecoveryGroups(java.util.Collection)
if you want
to override the existing values.
recoveryGroups
- A list of RecoveryGroupspublic ListRecoveryGroupsResult withRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
recoveryGroups
- A list of RecoveryGroupspublic String toString()
toString
in class Object
Object.toString()
public ListRecoveryGroupsResult clone()