@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTestRecommendationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTestRecommendationsResult() |
Modifier and Type | Method and Description |
---|---|
ListTestRecommendationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
List<TestRecommendation> |
getTestRecommendations()
The test recommendations for the Resilience Hub application.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setTestRecommendations(Collection<TestRecommendation> testRecommendations)
The test recommendations for the Resilience Hub application.
|
String |
toString()
Returns a string representation of this object.
|
ListTestRecommendationsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListTestRecommendationsResult |
withTestRecommendations(Collection<TestRecommendation> testRecommendations)
The test recommendations for the Resilience Hub application.
|
ListTestRecommendationsResult |
withTestRecommendations(TestRecommendation... testRecommendations)
The test recommendations for the Resilience Hub application.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public String getNextToken()
The token for the next set of results, or null if there are no more results.
public ListTestRecommendationsResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public List<TestRecommendation> getTestRecommendations()
The test recommendations for the Resilience Hub application.
public void setTestRecommendations(Collection<TestRecommendation> testRecommendations)
The test recommendations for the Resilience Hub application.
testRecommendations
- The test recommendations for the Resilience Hub application.public ListTestRecommendationsResult withTestRecommendations(TestRecommendation... testRecommendations)
The test recommendations for the Resilience Hub application.
NOTE: This method appends the values to the existing list (if any). Use
setTestRecommendations(java.util.Collection)
or withTestRecommendations(java.util.Collection)
if you want to override the existing values.
testRecommendations
- The test recommendations for the Resilience Hub application.public ListTestRecommendationsResult withTestRecommendations(Collection<TestRecommendation> testRecommendations)
The test recommendations for the Resilience Hub application.
testRecommendations
- The test recommendations for the Resilience Hub application.public String toString()
toString
in class Object
Object.toString()
public ListTestRecommendationsResult clone()