public static interface GetLicenseRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetLicenseRecommendationsRequest.Builder,GetLicenseRecommendationsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetLicenseRecommendationsRequest.Builder |
accountIds(Collection<String> accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
accountIds(String... accountIds)
The ID of the Amazon Web Services account for which to return license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
filters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
filters(Consumer<LicenseRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
filters(LicenseRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of license recommendations to return with a single request.
|
GetLicenseRecommendationsRequest.Builder |
nextToken(String nextToken)
The token to advance to the next page of license recommendations.
|
GetLicenseRecommendationsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetLicenseRecommendationsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetLicenseRecommendationsRequest.Builder |
resourceArns(Collection<String> resourceArns)
The ARN that identifies the Amazon EC2 instance.
|
GetLicenseRecommendationsRequest.Builder |
resourceArns(String... resourceArns)
The ARN that identifies the Amazon EC2 instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetLicenseRecommendationsRequest.Builder resourceArns(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
GetLicenseRecommendationsRequest.Builder resourceArns(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
GetLicenseRecommendationsRequest.Builder nextToken(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.GetLicenseRecommendationsRequest.Builder maxResults(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.
GetLicenseRecommendationsRequest.Builder filters(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.GetLicenseRecommendationsRequest.Builder filters(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.GetLicenseRecommendationsRequest.Builder filters(Consumer<LicenseRecommendationFilter.Builder>... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
This is a convenience method that creates an instance of theLicenseRecommendationFilter.Builder avoiding
the need to create one manually via
LicenseRecommendationFilter.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #filters(List.
filters - a consumer that will call methods on
LicenseRecommendationFilter.Builder#filters(java.util.Collection) GetLicenseRecommendationsRequest.Builder accountIds(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.
GetLicenseRecommendationsRequest.Builder accountIds(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.
GetLicenseRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetLicenseRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.