@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()
The token that identifies which batch of results you want to see.
|
List<RecoveryGroupOutput> |
getRecoveryGroups()
A list of recovery groups.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
void |
setRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of recovery groups.
|
String |
toString()
Returns a string representation of this object.
|
ListRecoveryGroupsResult |
withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
ListRecoveryGroupsResult |
withRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of recovery groups.
|
ListRecoveryGroupsResult |
withRecoveryGroups(RecoveryGroupOutput... recoveryGroups)
A list of recovery groups.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String getNextToken()
The token that identifies which batch of results you want to see.
public ListRecoveryGroupsResult withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public List<RecoveryGroupOutput> getRecoveryGroups()
A list of recovery groups.
public void setRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of recovery groups.
recoveryGroups
- A list of recovery groups.public ListRecoveryGroupsResult withRecoveryGroups(RecoveryGroupOutput... recoveryGroups)
A list of recovery groups.
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 recovery groups.public ListRecoveryGroupsResult withRecoveryGroups(Collection<RecoveryGroupOutput> recoveryGroups)
A list of recovery groups.
recoveryGroups
- A list of recovery groups.public String toString()
toString
in class Object
Object.toString()
public ListRecoveryGroupsResult clone()