Interface GetIdleRecommendationsRequest.Builder

    • Method Detail

      • resourceArns

        GetIdleRecommendationsRequest.Builder resourceArns​(Collection<String> resourceArns)

        The ARN that identifies the idle resource.

        Parameters:
        resourceArns - The ARN that identifies the idle resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArns

        GetIdleRecommendationsRequest.Builder resourceArns​(String... resourceArns)

        The ARN that identifies the idle resource.

        Parameters:
        resourceArns - The ARN that identifies the idle resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetIdleRecommendationsRequest.Builder nextToken​(String nextToken)

        The token to advance to the next page of idle resource recommendations.

        Parameters:
        nextToken - The token to advance to the next page of idle resource recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        GetIdleRecommendationsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of idle resource 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 idle resource 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

        GetIdleRecommendationsRequest.Builder filters​(Collection<IdleRecommendationFilter> filters)

        An array of objects to specify a filter that returns a more specific list of idle resource recommendations.

        Parameters:
        filters - An array of objects to specify a filter that returns a more specific list of idle resource recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        GetIdleRecommendationsRequest.Builder filters​(IdleRecommendationFilter... filters)

        An array of objects to specify a filter that returns a more specific list of idle resource recommendations.

        Parameters:
        filters - An array of objects to specify a filter that returns a more specific list of idle resource recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        GetIdleRecommendationsRequest.Builder accountIds​(Collection<String> accountIds)

        Return the idle resource recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.

        You can only specify one account ID per request.

        Parameters:
        accountIds - Return the idle resource recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.

        You can only specify one account ID per request.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        GetIdleRecommendationsRequest.Builder accountIds​(String... accountIds)

        Return the idle resource recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.

        You can only specify one account ID per request.

        Parameters:
        accountIds - Return the idle resource recommendations to the specified Amazon Web Services account IDs.

        If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts.

        You can only specify one account ID per request.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderBy

        GetIdleRecommendationsRequest.Builder orderBy​(OrderBy orderBy)

        The order to sort the idle resource recommendations.

        Parameters:
        orderBy - The order to sort the idle resource recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.