@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationPreferencesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRecommendationPreferencesRequest() |
Modifier and Type | Method and Description |
---|---|
GetRecommendationPreferencesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of recommendation preferences to return with a single request.
|
String |
getNextToken()
The token to advance to the next page of recommendation preferences.
|
String |
getResourceType()
The target resource type of the recommendation preference for which to return preferences.
|
Scope |
getScope()
An object that describes the scope of the recommendation preference to return.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
|
void |
setNextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
|
void |
setResourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
|
void |
setScope(Scope scope)
An object that describes the scope of the recommendation preference to return.
|
String |
toString()
Returns a string representation of this object.
|
GetRecommendationPreferencesRequest |
withMaxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
|
GetRecommendationPreferencesRequest |
withNextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
|
GetRecommendationPreferencesRequest |
withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference for which to return preferences.
|
GetRecommendationPreferencesRequest |
withResourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
|
GetRecommendationPreferencesRequest |
withScope(Scope scope)
An object that describes the scope of the recommendation preference to return.
|
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 setResourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling
group.
resourceType
- The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an
Auto Scaling group.
ResourceType
public String getResourceType()
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling
group.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an
Auto Scaling group.
ResourceType
public GetRecommendationPreferencesRequest withResourceType(String resourceType)
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling
group.
resourceType
- The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an
Auto Scaling group.
ResourceType
public GetRecommendationPreferencesRequest withResourceType(ResourceType resourceType)
The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling
groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling
group.
resourceType
- The target resource type of the recommendation preference for which to return preferences.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto
Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an
Auto Scaling group.
ResourceType
public void setScope(Scope scope)
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
scope
- An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public Scope getScope()
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public GetRecommendationPreferencesRequest withScope(Scope scope)
An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
scope
- An object that describes the scope of the recommendation preference to return.
You can return recommendation preferences that are created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
public void setNextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
nextToken
- The token to advance to the next page of recommendation preferences.public String getNextToken()
The token to advance to the next page of recommendation preferences.
public GetRecommendationPreferencesRequest withNextToken(String nextToken)
The token to advance to the next page of recommendation preferences.
nextToken
- The token to advance to the next page of recommendation preferences.public void setMaxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
maxResults
- The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
public Integer getMaxResults()
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
To retrieve the remaining results, make another request with the returned nextToken
value.
public GetRecommendationPreferencesRequest withMaxResults(Integer maxResults)
The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
maxResults
- The maximum number of recommendation preferences to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
public String toString()
toString
in class Object
Object.toString()
public GetRecommendationPreferencesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()