@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecommendationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecommendationsResult() |
Modifier and Type | Method and Description |
---|---|
ListRecommendationsResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request.
|
List<Recommendation> |
getRecommendations()
The Advisor recommendations for action on the Amazon Redshift cluster.
|
int |
hashCode() |
void |
setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
void |
setRecommendations(Collection<Recommendation> recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
|
String |
toString()
Returns a string representation of this object.
|
ListRecommendationsResult |
withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
ListRecommendationsResult |
withRecommendations(Collection<Recommendation> recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
|
ListRecommendationsResult |
withRecommendations(Recommendation... recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Recommendation> getRecommendations()
The Advisor recommendations for action on the Amazon Redshift cluster.
public void setRecommendations(Collection<Recommendation> recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
recommendations
- The Advisor recommendations for action on the Amazon Redshift cluster.public ListRecommendationsResult withRecommendations(Recommendation... recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendations(java.util.Collection)
or withRecommendations(java.util.Collection)
if you
want to override the existing values.
recommendations
- The Advisor recommendations for action on the Amazon Redshift cluster.public ListRecommendationsResult withRecommendations(Collection<Recommendation> recommendations)
The Advisor recommendations for action on the Amazon Redshift cluster.
recommendations
- The Advisor recommendations for action on the Amazon Redshift cluster.public void setMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response
records have been retrieved for the request.public String getMarker()
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
public ListRecommendationsResult withMarker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent request. If
a value is returned in a response, you can retrieve the next set of records by providing this returned
marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response
records have been retrieved for the request.public String toString()
toString
in class Object
Object.toString()
public ListRecommendationsResult clone()