Interface Filter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Filter.Builder,Filter>,SdkBuilder<Filter.Builder,Filter>,SdkPojo
- Enclosing class:
- Filter
public static interface Filter.Builder extends SdkPojo, CopyableBuilder<Filter.Builder,Filter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Filter.BuilderaccountIds(String... accountIds)The account that the recommendation is for.Filter.BuilderaccountIds(Collection<String> accountIds)The account that the recommendation is for.Filter.BuilderactionTypes(Collection<ActionType> actionTypes)The type of action you can take by adopting the recommendation.Filter.BuilderactionTypes(ActionType... actionTypes)The type of action you can take by adopting the recommendation.Filter.BuilderactionTypesWithStrings(String... actionTypes)The type of action you can take by adopting the recommendation.Filter.BuilderactionTypesWithStrings(Collection<String> actionTypes)The type of action you can take by adopting the recommendation.Filter.BuilderimplementationEfforts(Collection<ImplementationEffort> implementationEfforts)The effort required to implement the recommendation.Filter.BuilderimplementationEfforts(ImplementationEffort... implementationEfforts)The effort required to implement the recommendation.Filter.BuilderimplementationEffortsWithStrings(String... implementationEfforts)The effort required to implement the recommendation.Filter.BuilderimplementationEffortsWithStrings(Collection<String> implementationEfforts)The effort required to implement the recommendation.Filter.BuilderrecommendationIds(String... recommendationIds)The IDs for the recommendations.Filter.BuilderrecommendationIds(Collection<String> recommendationIds)The IDs for the recommendations.Filter.Builderregions(String... regions)The Amazon Web Services Region of the resource.Filter.Builderregions(Collection<String> regions)The Amazon Web Services Region of the resource.Filter.BuilderresourceArns(String... resourceArns)The Amazon Resource Name (ARN) of the recommendation.Filter.BuilderresourceArns(Collection<String> resourceArns)The Amazon Resource Name (ARN) of the recommendation.Filter.BuilderresourceIds(String... resourceIds)The resource ID of the recommendation.Filter.BuilderresourceIds(Collection<String> resourceIds)The resource ID of the recommendation.Filter.BuilderresourceTypes(Collection<ResourceType> resourceTypes)The resource type of the recommendation.Filter.BuilderresourceTypes(ResourceType... resourceTypes)The resource type of the recommendation.Filter.BuilderresourceTypesWithStrings(String... resourceTypes)The resource type of the recommendation.Filter.BuilderresourceTypesWithStrings(Collection<String> resourceTypes)The resource type of the recommendation.Filter.BuilderrestartNeeded(Boolean restartNeeded)Whether or not implementing the recommendation requires a restart.Filter.BuilderrollbackPossible(Boolean rollbackPossible)Whether or not implementing the recommendation can be rolled back.Filter.Buildertags(Collection<Tag> tags)A list of tags assigned to the recommendation.Filter.Buildertags(Consumer<Tag.Builder>... tags)A list of tags assigned to the recommendation.Filter.Buildertags(Tag... tags)A list of tags assigned to the recommendation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
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.
-
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.
-
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.
-
-