Interface GetLicenseRecommendationsRequest.Builder

    • 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 nextToken value.

        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 nextToken value.

        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.
      • 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.