@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Filter extends Object implements Serializable, Cloneable, StructuredPojo
Describes a filter that returns a more specific list of recommendations. Filters recommendations by different dimensions.
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccountIds()
The account that the recommendation is for.
|
List<String> |
getActionTypes()
The type of action you can take by adopting the recommendation.
|
List<String> |
getImplementationEfforts()
The effort required to implement the recommendation.
|
List<String> |
getRecommendationIds()
The IDs for the recommendations.
|
List<String> |
getRegions()
The Amazon Web Services Region of the resource.
|
List<String> |
getResourceArns()
The Amazon Resource Name (ARN) of the recommendation.
|
List<String> |
getResourceIds()
The resource ID of the recommendation.
|
List<String> |
getResourceTypes()
The resource type of the recommendation.
|
Boolean |
getRestartNeeded()
Whether or not implementing the recommendation requires a restart.
|
Boolean |
getRollbackPossible()
Whether or not implementing the recommendation can be rolled back.
|
List<Tag> |
getTags()
A list of tags assigned to the recommendation.
|
int |
hashCode() |
Boolean |
isRestartNeeded()
Whether or not implementing the recommendation requires a restart.
|
Boolean |
isRollbackPossible()
Whether or not implementing the recommendation can be rolled back.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountIds(Collection<String> accountIds)
The account that the recommendation is for.
|
void |
setActionTypes(Collection<String> actionTypes)
The type of action you can take by adopting the recommendation.
|
void |
setImplementationEfforts(Collection<String> implementationEfforts)
The effort required to implement the recommendation.
|
void |
setRecommendationIds(Collection<String> recommendationIds)
The IDs for the recommendations.
|
void |
setRegions(Collection<String> regions)
The Amazon Web Services Region of the resource.
|
void |
setResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
|
void |
setResourceIds(Collection<String> resourceIds)
The resource ID of the recommendation.
|
void |
setResourceTypes(Collection<String> resourceTypes)
The resource type of the recommendation.
|
void |
setRestartNeeded(Boolean restartNeeded)
Whether or not implementing the recommendation requires a restart.
|
void |
setRollbackPossible(Boolean rollbackPossible)
Whether or not implementing the recommendation can be rolled back.
|
void |
setTags(Collection<Tag> tags)
A list of tags assigned to the recommendation.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withAccountIds(Collection<String> accountIds)
The account that the recommendation is for.
|
Filter |
withAccountIds(String... accountIds)
The account that the recommendation is for.
|
Filter |
withActionTypes(ActionType... actionTypes)
The type of action you can take by adopting the recommendation.
|
Filter |
withActionTypes(Collection<String> actionTypes)
The type of action you can take by adopting the recommendation.
|
Filter |
withActionTypes(String... actionTypes)
The type of action you can take by adopting the recommendation.
|
Filter |
withImplementationEfforts(Collection<String> implementationEfforts)
The effort required to implement the recommendation.
|
Filter |
withImplementationEfforts(ImplementationEffort... implementationEfforts)
The effort required to implement the recommendation.
|
Filter |
withImplementationEfforts(String... implementationEfforts)
The effort required to implement the recommendation.
|
Filter |
withRecommendationIds(Collection<String> recommendationIds)
The IDs for the recommendations.
|
Filter |
withRecommendationIds(String... recommendationIds)
The IDs for the recommendations.
|
Filter |
withRegions(Collection<String> regions)
The Amazon Web Services Region of the resource.
|
Filter |
withRegions(String... regions)
The Amazon Web Services Region of the resource.
|
Filter |
withResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
|
Filter |
withResourceArns(String... resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
|
Filter |
withResourceIds(Collection<String> resourceIds)
The resource ID of the recommendation.
|
Filter |
withResourceIds(String... resourceIds)
The resource ID of the recommendation.
|
Filter |
withResourceTypes(Collection<String> resourceTypes)
The resource type of the recommendation.
|
Filter |
withResourceTypes(ResourceType... resourceTypes)
The resource type of the recommendation.
|
Filter |
withResourceTypes(String... resourceTypes)
The resource type of the recommendation.
|
Filter |
withRestartNeeded(Boolean restartNeeded)
Whether or not implementing the recommendation requires a restart.
|
Filter |
withRollbackPossible(Boolean rollbackPossible)
Whether or not implementing the recommendation can be rolled back.
|
Filter |
withTags(Collection<Tag> tags)
A list of tags assigned to the recommendation.
|
Filter |
withTags(Tag... tags)
A list of tags assigned to the recommendation.
|
public List<String> getAccountIds()
The account that the recommendation is for.
public void setAccountIds(Collection<String> accountIds)
The account that the recommendation is for.
accountIds
- The account that the recommendation is for.public Filter withAccountIds(String... accountIds)
The account that the recommendation is for.
NOTE: This method appends the values to the existing list (if any). Use
setAccountIds(java.util.Collection)
or withAccountIds(java.util.Collection)
if you want to
override the existing values.
accountIds
- The account that the recommendation is for.public Filter withAccountIds(Collection<String> accountIds)
The account that the recommendation is for.
accountIds
- The account that the recommendation is for.public List<String> getActionTypes()
The type of action you can take by adopting the recommendation.
ActionType
public void setActionTypes(Collection<String> actionTypes)
The type of action you can take by adopting the recommendation.
actionTypes
- The type of action you can take by adopting the recommendation.ActionType
public Filter withActionTypes(String... actionTypes)
The type of action you can take by adopting the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setActionTypes(java.util.Collection)
or withActionTypes(java.util.Collection)
if you want to
override the existing values.
actionTypes
- The type of action you can take by adopting the recommendation.ActionType
public Filter withActionTypes(Collection<String> actionTypes)
The type of action you can take by adopting the recommendation.
actionTypes
- The type of action you can take by adopting the recommendation.ActionType
public Filter withActionTypes(ActionType... actionTypes)
The type of action you can take by adopting the recommendation.
actionTypes
- The type of action you can take by adopting the recommendation.ActionType
public List<String> getImplementationEfforts()
The effort required to implement the recommendation.
ImplementationEffort
public void setImplementationEfforts(Collection<String> implementationEfforts)
The effort required to implement the recommendation.
implementationEfforts
- The effort required to implement the recommendation.ImplementationEffort
public Filter withImplementationEfforts(String... implementationEfforts)
The effort required to implement the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setImplementationEfforts(java.util.Collection)
or
withImplementationEfforts(java.util.Collection)
if you want to override the existing values.
implementationEfforts
- The effort required to implement the recommendation.ImplementationEffort
public Filter withImplementationEfforts(Collection<String> implementationEfforts)
The effort required to implement the recommendation.
implementationEfforts
- The effort required to implement the recommendation.ImplementationEffort
public Filter withImplementationEfforts(ImplementationEffort... implementationEfforts)
The effort required to implement the recommendation.
implementationEfforts
- The effort required to implement the recommendation.ImplementationEffort
public List<String> getRecommendationIds()
The IDs for the recommendations.
public void setRecommendationIds(Collection<String> recommendationIds)
The IDs for the recommendations.
recommendationIds
- The IDs for the recommendations.public Filter withRecommendationIds(String... recommendationIds)
The IDs for the recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationIds(java.util.Collection)
or withRecommendationIds(java.util.Collection)
if
you want to override the existing values.
recommendationIds
- The IDs for the recommendations.public Filter withRecommendationIds(Collection<String> recommendationIds)
The IDs for the recommendations.
recommendationIds
- The IDs for the recommendations.public List<String> getRegions()
The Amazon Web Services Region of the resource.
public void setRegions(Collection<String> regions)
The Amazon Web Services Region of the resource.
regions
- The Amazon Web Services Region of the resource.public Filter withRegions(String... regions)
The Amazon Web Services Region of the resource.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- The Amazon Web Services Region of the resource.public Filter withRegions(Collection<String> regions)
The Amazon Web Services Region of the resource.
regions
- The Amazon Web Services Region of the resource.public List<String> getResourceArns()
The Amazon Resource Name (ARN) of the recommendation.
public void setResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
resourceArns
- The Amazon Resource Name (ARN) of the recommendation.public Filter withResourceArns(String... resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setResourceArns(java.util.Collection)
or withResourceArns(java.util.Collection)
if you want to
override the existing values.
resourceArns
- The Amazon Resource Name (ARN) of the recommendation.public Filter withResourceArns(Collection<String> resourceArns)
The Amazon Resource Name (ARN) of the recommendation.
resourceArns
- The Amazon Resource Name (ARN) of the recommendation.public List<String> getResourceIds()
The resource ID of the recommendation.
public void setResourceIds(Collection<String> resourceIds)
The resource ID of the recommendation.
resourceIds
- The resource ID of the recommendation.public Filter withResourceIds(String... resourceIds)
The resource ID of the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection)
or withResourceIds(java.util.Collection)
if you want to
override the existing values.
resourceIds
- The resource ID of the recommendation.public Filter withResourceIds(Collection<String> resourceIds)
The resource ID of the recommendation.
resourceIds
- The resource ID of the recommendation.public List<String> getResourceTypes()
The resource type of the recommendation.
ResourceType
public void setResourceTypes(Collection<String> resourceTypes)
The resource type of the recommendation.
resourceTypes
- The resource type of the recommendation.ResourceType
public Filter withResourceTypes(String... resourceTypes)
The resource type of the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection)
or withResourceTypes(java.util.Collection)
if you want
to override the existing values.
resourceTypes
- The resource type of the recommendation.ResourceType
public Filter withResourceTypes(Collection<String> resourceTypes)
The resource type of the recommendation.
resourceTypes
- The resource type of the recommendation.ResourceType
public Filter withResourceTypes(ResourceType... resourceTypes)
The resource type of the recommendation.
resourceTypes
- The resource type of the recommendation.ResourceType
public void setRestartNeeded(Boolean restartNeeded)
Whether or not implementing the recommendation requires a restart.
restartNeeded
- Whether or not implementing the recommendation requires a restart.public Boolean getRestartNeeded()
Whether or not implementing the recommendation requires a restart.
public Filter withRestartNeeded(Boolean restartNeeded)
Whether or not implementing the recommendation requires a restart.
restartNeeded
- Whether or not implementing the recommendation requires a restart.public Boolean isRestartNeeded()
Whether or not implementing the recommendation requires a restart.
public void setRollbackPossible(Boolean rollbackPossible)
Whether or not implementing the recommendation can be rolled back.
rollbackPossible
- Whether or not implementing the recommendation can be rolled back.public Boolean getRollbackPossible()
Whether or not implementing the recommendation can be rolled back.
public Filter withRollbackPossible(Boolean rollbackPossible)
Whether or not implementing the recommendation can be rolled back.
rollbackPossible
- Whether or not implementing the recommendation can be rolled back.public Boolean isRollbackPossible()
Whether or not implementing the recommendation can be rolled back.
public List<Tag> getTags()
A list of tags assigned to the recommendation.
public void setTags(Collection<Tag> tags)
A list of tags assigned to the recommendation.
tags
- A list of tags assigned to the recommendation.public Filter withTags(Tag... tags)
A list of tags assigned to the recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags assigned to the recommendation.public Filter withTags(Collection<Tag> tags)
A list of tags assigned to the recommendation.
tags
- A list of tags assigned to the recommendation.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.