Interface GetLicenseRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComputeOptimizerRequest.Builder,CopyableBuilder<GetLicenseRecommendationsRequest.Builder,GetLicenseRecommendationsRequest>,SdkBuilder<GetLicenseRecommendationsRequest.Builder,GetLicenseRecommendationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetLicenseRecommendationsRequest
public static interface GetLicenseRecommendationsRequest.Builder extends ComputeOptimizerRequest.Builder, SdkPojo, CopyableBuilder<GetLicenseRecommendationsRequest.Builder,GetLicenseRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetLicenseRecommendationsRequest.BuilderaccountIds(String... accountIds)The ID of the Amazon Web Services account for which to return license recommendations.GetLicenseRecommendationsRequest.BuilderaccountIds(Collection<String> accountIds)The ID of the Amazon Web Services account for which to return license recommendations.GetLicenseRecommendationsRequest.Builderfilters(Collection<LicenseRecommendationFilter> filters)An array of objects to specify a filter that returns a more specific list of license recommendations.GetLicenseRecommendationsRequest.Builderfilters(Consumer<LicenseRecommendationFilter.Builder>... filters)An array of objects to specify a filter that returns a more specific list of license recommendations.GetLicenseRecommendationsRequest.Builderfilters(LicenseRecommendationFilter... filters)An array of objects to specify a filter that returns a more specific list of license recommendations.GetLicenseRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of license recommendations to return with a single request.GetLicenseRecommendationsRequest.BuildernextToken(String nextToken)The token to advance to the next page of license recommendations.GetLicenseRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetLicenseRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetLicenseRecommendationsRequest.BuilderresourceArns(String... resourceArns)The ARN that identifies the Amazon EC2 instance.GetLicenseRecommendationsRequest.BuilderresourceArns(Collection<String> resourceArns)The ARN that identifies the Amazon EC2 instance.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.computeoptimizer.model.ComputeOptimizerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resourceArns
GetLicenseRecommendationsRequest.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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArns
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- Parameters:
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- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetLicenseRecommendationsRequest.Builder nextToken(String nextToken)
The token to advance to the next page of license recommendations.
- Parameters:
nextToken- The token to advance to the next page of license recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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
nextTokenvalue.- Parameters:
maxResults- The maximum number of license recommendations to return with a single request.To retrieve the remaining results, make another request with the returned
nextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetLicenseRecommendationsRequest.Builder filters(Collection<LicenseRecommendationFilter> filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of license recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
GetLicenseRecommendationsRequest.Builder filters(LicenseRecommendationFilter... filters)
An array of objects to specify a filter that returns a more specific list of license recommendations.
- Parameters:
filters- An array of objects to specify a filter that returns a more specific list of license recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
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.Builderavoiding the need to create one manually viaLicenseRecommendationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onLicenseRecommendationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
accountIds
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetLicenseRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetLicenseRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-