@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRightsizingRecommendationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRightsizingRecommendationResult() |
Modifier and Type | Method and Description |
---|---|
GetRightsizingRecommendationResult |
clone() |
boolean |
equals(Object obj) |
RightsizingRecommendationConfiguration |
getConfiguration()
You can use Configuration to customize recommendations across two attributes.
|
RightsizingRecommendationMetadata |
getMetadata()
Information regarding this specific recommendation set.
|
String |
getNextPageToken()
The token to retrieve the next set of results.
|
List<RightsizingRecommendation> |
getRightsizingRecommendations()
Recommendations to rightsize resources.
|
RightsizingRecommendationSummary |
getSummary()
Summary of this recommendation set.
|
int |
hashCode() |
void |
setConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes.
|
void |
setMetadata(RightsizingRecommendationMetadata metadata)
Information regarding this specific recommendation set.
|
void |
setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
void |
setRightsizingRecommendations(Collection<RightsizingRecommendation> rightsizingRecommendations)
Recommendations to rightsize resources.
|
void |
setSummary(RightsizingRecommendationSummary summary)
Summary of this recommendation set.
|
String |
toString()
Returns a string representation of this object.
|
GetRightsizingRecommendationResult |
withConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes.
|
GetRightsizingRecommendationResult |
withMetadata(RightsizingRecommendationMetadata metadata)
Information regarding this specific recommendation set.
|
GetRightsizingRecommendationResult |
withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
|
GetRightsizingRecommendationResult |
withRightsizingRecommendations(Collection<RightsizingRecommendation> rightsizingRecommendations)
Recommendations to rightsize resources.
|
GetRightsizingRecommendationResult |
withRightsizingRecommendations(RightsizingRecommendation... rightsizingRecommendations)
Recommendations to rightsize resources.
|
GetRightsizingRecommendationResult |
withSummary(RightsizingRecommendationSummary summary)
Summary of this recommendation set.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMetadata(RightsizingRecommendationMetadata metadata)
Information regarding this specific recommendation set.
metadata
- Information regarding this specific recommendation set.public RightsizingRecommendationMetadata getMetadata()
Information regarding this specific recommendation set.
public GetRightsizingRecommendationResult withMetadata(RightsizingRecommendationMetadata metadata)
Information regarding this specific recommendation set.
metadata
- Information regarding this specific recommendation set.public void setSummary(RightsizingRecommendationSummary summary)
Summary of this recommendation set.
summary
- Summary of this recommendation set.public RightsizingRecommendationSummary getSummary()
Summary of this recommendation set.
public GetRightsizingRecommendationResult withSummary(RightsizingRecommendationSummary summary)
Summary of this recommendation set.
summary
- Summary of this recommendation set.public List<RightsizingRecommendation> getRightsizingRecommendations()
Recommendations to rightsize resources.
public void setRightsizingRecommendations(Collection<RightsizingRecommendation> rightsizingRecommendations)
Recommendations to rightsize resources.
rightsizingRecommendations
- Recommendations to rightsize resources.public GetRightsizingRecommendationResult withRightsizingRecommendations(RightsizingRecommendation... rightsizingRecommendations)
Recommendations to rightsize resources.
NOTE: This method appends the values to the existing list (if any). Use
setRightsizingRecommendations(java.util.Collection)
or
withRightsizingRecommendations(java.util.Collection)
if you want to override the existing values.
rightsizingRecommendations
- Recommendations to rightsize resources.public GetRightsizingRecommendationResult withRightsizingRecommendations(Collection<RightsizingRecommendation> rightsizingRecommendations)
Recommendations to rightsize resources.
rightsizingRecommendations
- Recommendations to rightsize resources.public void setNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
nextPageToken
- The token to retrieve the next set of results.public String getNextPageToken()
The token to retrieve the next set of results.
public GetRightsizingRecommendationResult withNextPageToken(String nextPageToken)
The token to retrieve the next set of results.
nextPageToken
- The token to retrieve the next set of results.public void setConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
configuration
- You can use Configuration to customize recommendations across two attributes. You can choose to view
recommendations for instances within the same instance families or across different instance families. You
can also choose to view your estimated savings that are associated with recommendations with consideration
of existing Savings Plans or RI benefits, or neither.public RightsizingRecommendationConfiguration getConfiguration()
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
public GetRightsizingRecommendationResult withConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes. You can choose to view recommendations for instances within the same instance families or across different instance families. You can also choose to view your estimated savings that are associated with recommendations with consideration of existing Savings Plans or RI benefits, or neither.
configuration
- You can use Configuration to customize recommendations across two attributes. You can choose to view
recommendations for instances within the same instance families or across different instance families. You
can also choose to view your estimated savings that are associated with recommendations with consideration
of existing Savings Plans or RI benefits, or neither.public String toString()
toString
in class Object
Object.toString()
public GetRightsizingRecommendationResult clone()