@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecommendationTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecommendationTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListRecommendationTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results, or null if there are no more results.
|
List<RecommendationTemplate> |
getRecommendationTemplates()
The recommendation templates for the Resilience Hub applications.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setRecommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
|
String |
toString()
Returns a string representation of this object.
|
ListRecommendationTemplatesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListRecommendationTemplatesResult |
withRecommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
|
ListRecommendationTemplatesResult |
withRecommendationTemplates(RecommendationTemplate... recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
|
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 ListRecommendationTemplatesResult 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<RecommendationTemplate> getRecommendationTemplates()
The recommendation templates for the Resilience Hub applications.
public void setRecommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
recommendationTemplates
- The recommendation templates for the Resilience Hub applications.public ListRecommendationTemplatesResult withRecommendationTemplates(RecommendationTemplate... recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationTemplates(java.util.Collection)
or
withRecommendationTemplates(java.util.Collection)
if you want to override the existing values.
recommendationTemplates
- The recommendation templates for the Resilience Hub applications.public ListRecommendationTemplatesResult withRecommendationTemplates(Collection<RecommendationTemplate> recommendationTemplates)
The recommendation templates for the Resilience Hub applications.
recommendationTemplates
- The recommendation templates for the Resilience Hub applications.public String toString()
toString
in class Object
Object.toString()
public ListRecommendationTemplatesResult clone()