@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRightsizingRecommendationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRightsizingRecommendationRequest() |
Modifier and Type | Method and Description |
---|---|
GetRightsizingRecommendationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
RightsizingRecommendationConfiguration |
getConfiguration()
You can use Configuration to customize recommendations across two attributes.
|
Expression |
getFilter() |
String |
getNextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
|
Integer |
getPageSize()
The number of recommendations that you want returned in a single response object.
|
String |
getService()
The specific service that you want recommendations for.
|
int |
hashCode() |
void |
setConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes.
|
void |
setFilter(Expression filter) |
void |
setNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
void |
setPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
void |
setService(String service)
The specific service that you want recommendations for.
|
String |
toString()
Returns a string representation of this object.
|
GetRightsizingRecommendationRequest |
withConfiguration(RightsizingRecommendationConfiguration configuration)
You can use Configuration to customize recommendations across two attributes.
|
GetRightsizingRecommendationRequest |
withFilter(Expression filter) |
GetRightsizingRecommendationRequest |
withNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
|
GetRightsizingRecommendationRequest |
withPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
|
GetRightsizingRecommendationRequest |
withService(String service)
The specific service that you want recommendations for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFilter(Expression filter)
filter
- public Expression getFilter()
public GetRightsizingRecommendationRequest withFilter(Expression filter)
filter
- 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 GetRightsizingRecommendationRequest 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 void setService(String service)
The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendation
is "AmazonEC2
".
service
- The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendation
is "AmazonEC2
".public String getService()
The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendation
is "AmazonEC2
".
GetRightsizingRecommendation
is "AmazonEC2
".public GetRightsizingRecommendationRequest withService(String service)
The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendation
is "AmazonEC2
".
service
- The specific service that you want recommendations for. The only valid value for
GetRightsizingRecommendation
is "AmazonEC2
".public void setPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize
- The number of recommendations that you want returned in a single response object.public Integer getPageSize()
The number of recommendations that you want returned in a single response object.
public GetRightsizingRecommendationRequest withPageSize(Integer pageSize)
The number of recommendations that you want returned in a single response object.
pageSize
- The number of recommendations that you want returned in a single response object.public void setNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextPageToken
- The pagination token that indicates the next set of results that you want to retrieve.public String getNextPageToken()
The pagination token that indicates the next set of results that you want to retrieve.
public GetRightsizingRecommendationRequest withNextPageToken(String nextPageToken)
The pagination token that indicates the next set of results that you want to retrieve.
nextPageToken
- The pagination token that indicates the next set of results that you want to retrieve.public String toString()
toString
in class Object
Object.toString()
public GetRightsizingRecommendationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()