Interface GetIdleRecommendationsRequest.Builder

  • Method Details

    • 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

      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

      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

      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

      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

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

      This is a convenience method that creates an instance of the IdleRecommendationFilter.Builder avoiding the need to create one manually via IdleRecommendationFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<IdleRecommendationFilter>).

      Parameters:
      filters - a consumer that will call methods on IdleRecommendationFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

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

      The order to sort the idle resource recommendations.

      This is a convenience method that creates an instance of the OrderBy.Builder avoiding the need to create one manually via OrderBy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to orderBy(OrderBy).

      Parameters:
      orderBy - a consumer that will call methods on OrderBy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetIdleRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.