@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLicenseRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetLicenseRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetLicenseRecommendationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The ID of the Amazon Web Services account for which to return license recommendations.
|
List<LicenseRecommendationFilter> |
getFilters()
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
Integer |
getMaxResults()
The maximum number of license recommendations to return with a single request.
|
String |
getNextToken()
The token to advance to the next page of license recommendations.
|
List<String> |
getResourceArns()
The ARN that identifies the Amazon EC2 instance.
|
int |
hashCode() |
void |
setAccountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
|
void |
setFilters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
void |
setMaxResults(Integer maxResults)
The maximum number of license recommendations to return with a single request.
|
void |
setNextToken(String nextToken)
The token to advance to the next page of license recommendations.
|
void |
setResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon EC2 instance.
|
String |
toString()
Returns a string representation of this object.
|
GetLicenseRecommendationsRequest |
withAccountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
|
GetLicenseRecommendationsRequest |
withAccountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
|
GetLicenseRecommendationsRequest |
withFilters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
GetLicenseRecommendationsRequest |
withFilters(LicenseRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
GetLicenseRecommendationsRequest |
withMaxResults(Integer maxResults)
The maximum number of license recommendations to return with a single request.
|
GetLicenseRecommendationsRequest |
withNextToken(String nextToken)
The token to advance to the next page of license recommendations.
|
GetLicenseRecommendationsRequest |
withResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon EC2 instance.
|
GetLicenseRecommendationsRequest |
withResourceArns(String... resourceArns)
The ARN that identifies the Amazon EC2 instance.
|
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 List<String> getResourceArns()
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
public void setResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
resourceArns
- The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
public GetLicenseRecommendationsRequest withResourceArns(String... resourceArns)
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
public GetLicenseRecommendationsRequest withResourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
resourceArns
- The ARN that identifies the Amazon EC2 instance.
The following is the format of the ARN:
arn:aws:ec2:region:aws_account_id:instance/instance-id
public void setNextToken(String nextToken)
The token to advance to the next page of license recommendations.
nextToken
- The token to advance to the next page of license recommendations.public String getNextToken()
The token to advance to the next page of license recommendations.
public GetLicenseRecommendationsRequest withNextToken(String nextToken)
The token to advance to the next page of license recommendations.
nextToken
- The token to advance to the next page of license recommendations.public void setMaxResults(Integer maxResults)
The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
maxResults
- The maximum number of license recommendations 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 license recommendations 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 GetLicenseRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
maxResults
- The maximum number of license recommendations to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken
value.
public List<LicenseRecommendationFilter> getFilters()
An array of objects to specify a filter that returns a more specific list of license recommendations.
public void setFilters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
filters
- An array of objects to specify a filter that returns a more specific list of license recommendations.public GetLicenseRecommendationsRequest withFilters(LicenseRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- An array of objects to specify a filter that returns a more specific list of license recommendations.public GetLicenseRecommendationsRequest withFilters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
filters
- An array of objects to specify a filter that returns a more specific list of license recommendations.public List<String> getAccountIds()
The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
public void setAccountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
public GetLicenseRecommendationsRequest withAccountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
public GetLicenseRecommendationsRequest withAccountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
accountIds
- The ID of the Amazon Web Services account for which to return license recommendations.
If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations.
Only one account ID can be specified per request.
public String toString()
toString
in class Object
Object.toString()
public GetLicenseRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()