Interface Filter.Builder

    • Method Detail

      • accountIds

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

        The account that the recommendation is for.

        Parameters:
        accountIds - The account that the recommendation is for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        Filter.Builder accountIds​(String... accountIds)

        The account that the recommendation is for.

        Parameters:
        accountIds - The account that the recommendation is for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionTypesWithStrings

        Filter.Builder actionTypesWithStrings​(Collection<String> actionTypes)

        The type of action you can take by adopting the recommendation.

        Parameters:
        actionTypes - The type of action you can take by adopting the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionTypesWithStrings

        Filter.Builder actionTypesWithStrings​(String... actionTypes)

        The type of action you can take by adopting the recommendation.

        Parameters:
        actionTypes - The type of action you can take by adopting the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionTypes

        Filter.Builder actionTypes​(Collection<ActionType> actionTypes)

        The type of action you can take by adopting the recommendation.

        Parameters:
        actionTypes - The type of action you can take by adopting the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionTypes

        Filter.Builder actionTypes​(ActionType... actionTypes)

        The type of action you can take by adopting the recommendation.

        Parameters:
        actionTypes - The type of action you can take by adopting the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • implementationEffortsWithStrings

        Filter.Builder implementationEffortsWithStrings​(Collection<String> implementationEfforts)

        The effort required to implement the recommendation.

        Parameters:
        implementationEfforts - The effort required to implement the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • implementationEffortsWithStrings

        Filter.Builder implementationEffortsWithStrings​(String... implementationEfforts)

        The effort required to implement the recommendation.

        Parameters:
        implementationEfforts - The effort required to implement the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • implementationEfforts

        Filter.Builder implementationEfforts​(Collection<ImplementationEffort> implementationEfforts)

        The effort required to implement the recommendation.

        Parameters:
        implementationEfforts - The effort required to implement the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • implementationEfforts

        Filter.Builder implementationEfforts​(ImplementationEffort... implementationEfforts)

        The effort required to implement the recommendation.

        Parameters:
        implementationEfforts - The effort required to implement the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendationIds

        Filter.Builder recommendationIds​(Collection<String> recommendationIds)

        The IDs for the recommendations.

        Parameters:
        recommendationIds - The IDs for the recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendationIds

        Filter.Builder recommendationIds​(String... recommendationIds)

        The IDs for the recommendations.

        Parameters:
        recommendationIds - The IDs for the recommendations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        Filter.Builder regions​(Collection<String> regions)

        The Amazon Web Services Region of the resource.

        Parameters:
        regions - The Amazon Web Services Region of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • regions

        Filter.Builder regions​(String... regions)

        The Amazon Web Services Region of the resource.

        Parameters:
        regions - The Amazon Web Services Region of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArns

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

        The Amazon Resource Name (ARN) of the recommendation.

        Parameters:
        resourceArns - The Amazon Resource Name (ARN) of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceArns

        Filter.Builder resourceArns​(String... resourceArns)

        The Amazon Resource Name (ARN) of the recommendation.

        Parameters:
        resourceArns - The Amazon Resource Name (ARN) of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIds

        Filter.Builder resourceIds​(Collection<String> resourceIds)

        The resource ID of the recommendation.

        Parameters:
        resourceIds - The resource ID of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIds

        Filter.Builder resourceIds​(String... resourceIds)

        The resource ID of the recommendation.

        Parameters:
        resourceIds - The resource ID of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypesWithStrings

        Filter.Builder resourceTypesWithStrings​(Collection<String> resourceTypes)

        The resource type of the recommendation.

        Parameters:
        resourceTypes - The resource type of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypesWithStrings

        Filter.Builder resourceTypesWithStrings​(String... resourceTypes)

        The resource type of the recommendation.

        Parameters:
        resourceTypes - The resource type of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypes

        Filter.Builder resourceTypes​(Collection<ResourceType> resourceTypes)

        The resource type of the recommendation.

        Parameters:
        resourceTypes - The resource type of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypes

        Filter.Builder resourceTypes​(ResourceType... resourceTypes)

        The resource type of the recommendation.

        Parameters:
        resourceTypes - The resource type of the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • restartNeeded

        Filter.Builder restartNeeded​(Boolean restartNeeded)

        Whether or not implementing the recommendation requires a restart.

        Parameters:
        restartNeeded - Whether or not implementing the recommendation requires a restart.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rollbackPossible

        Filter.Builder rollbackPossible​(Boolean rollbackPossible)

        Whether or not implementing the recommendation can be rolled back.

        Parameters:
        rollbackPossible - Whether or not implementing the recommendation can be rolled back.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Filter.Builder tags​(Collection<Tag> tags)

        A list of tags assigned to the recommendation.

        Parameters:
        tags - A list of tags assigned to the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Filter.Builder tags​(Tag... tags)

        A list of tags assigned to the recommendation.

        Parameters:
        tags - A list of tags assigned to the recommendation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Filter.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags assigned to the recommendation.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)