@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.
| Constructor and Description |
|---|
Filter() |
| Modifier and Type | Method and Description |
|---|---|
Filter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the filter.
|
List<String> |
getValues()
The value of the filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The name of the filter.
|
void |
setValues(Collection<String> values)
The value of the filter.
|
String |
toString()
Returns a string representation of this object.
|
Filter |
withName(FilterName name)
The name of the filter.
|
Filter |
withName(String name)
The name of the filter.
|
Filter |
withValues(Collection<String> values)
The value of the filter.
|
Filter |
withValues(String... values)
The value of the filter.
|
public void setName(String name)
The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
name - The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
FilterNamepublic String getName()
The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
FilterNamepublic Filter withName(String name)
The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
name - The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
FilterNamepublic Filter withName(FilterName name)
The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
name - The name of the filter.
Specify Finding to filter the results to a specific findings classification.
Specify RecommendationSourceType to filter the results to a specific resource type.
FilterNamepublic List<String> getValues()
The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an Auto
Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid values
are EC2Instance, or AutoScalingGroup.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an
Auto Scaling group, then the valid values are Optimized, or NotOptimized
.
If you specify the name parameter as RecommendationSourceType, then the valid
values are EC2Instance, or AutoScalingGroup.
public void setValues(Collection<String> values)
The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an Auto
Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid values
are EC2Instance, or AutoScalingGroup.
values - The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an
Auto Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid
values are EC2Instance, or AutoScalingGroup.
public Filter withValues(String... values)
The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an Auto
Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid values
are EC2Instance, or AutoScalingGroup.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an
Auto Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid
values are EC2Instance, or AutoScalingGroup.
public Filter withValues(Collection<String> values)
The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an Auto
Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid values
are EC2Instance, or AutoScalingGroup.
values - The value of the filter.
If you specify the name parameter as Finding, and you're recommendations for an
instance, then the valid values are Underprovisioned, Overprovisioned,
NotOptimized, or Optimized.
If you specify the name parameter as Finding, and you're recommendations for an
Auto Scaling group, then the valid values are Optimized, or NotOptimized.
If you specify the name parameter as RecommendationSourceType, then the valid
values are EC2Instance, or AutoScalingGroup.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.