@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightsFilter extends Object implements Serializable, Cloneable, StructuredPojo
The criteria to use for the insights.
Constructor and Description |
---|
InsightsFilter() |
Modifier and Type | Method and Description |
---|---|
InsightsFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCategories()
The categories to use to filter insights.
|
List<String> |
getKubernetesVersions()
The Kubernetes versions to use to filter the insights.
|
List<String> |
getStatuses()
The statuses to use to filter the insights.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCategories(Collection<String> categories)
The categories to use to filter insights.
|
void |
setKubernetesVersions(Collection<String> kubernetesVersions)
The Kubernetes versions to use to filter the insights.
|
void |
setStatuses(Collection<String> statuses)
The statuses to use to filter the insights.
|
String |
toString()
Returns a string representation of this object.
|
InsightsFilter |
withCategories(Category... categories)
The categories to use to filter insights.
|
InsightsFilter |
withCategories(Collection<String> categories)
The categories to use to filter insights.
|
InsightsFilter |
withCategories(String... categories)
The categories to use to filter insights.
|
InsightsFilter |
withKubernetesVersions(Collection<String> kubernetesVersions)
The Kubernetes versions to use to filter the insights.
|
InsightsFilter |
withKubernetesVersions(String... kubernetesVersions)
The Kubernetes versions to use to filter the insights.
|
InsightsFilter |
withStatuses(Collection<String> statuses)
The statuses to use to filter the insights.
|
InsightsFilter |
withStatuses(InsightStatusValue... statuses)
The statuses to use to filter the insights.
|
InsightsFilter |
withStatuses(String... statuses)
The statuses to use to filter the insights.
|
public List<String> getCategories()
The categories to use to filter insights.
Category
public void setCategories(Collection<String> categories)
The categories to use to filter insights.
categories
- The categories to use to filter insights.Category
public InsightsFilter withCategories(String... categories)
The categories to use to filter insights.
NOTE: This method appends the values to the existing list (if any). Use
setCategories(java.util.Collection)
or withCategories(java.util.Collection)
if you want to
override the existing values.
categories
- The categories to use to filter insights.Category
public InsightsFilter withCategories(Collection<String> categories)
The categories to use to filter insights.
categories
- The categories to use to filter insights.Category
public InsightsFilter withCategories(Category... categories)
The categories to use to filter insights.
categories
- The categories to use to filter insights.Category
public List<String> getKubernetesVersions()
The Kubernetes versions to use to filter the insights.
public void setKubernetesVersions(Collection<String> kubernetesVersions)
The Kubernetes versions to use to filter the insights.
kubernetesVersions
- The Kubernetes versions to use to filter the insights.public InsightsFilter withKubernetesVersions(String... kubernetesVersions)
The Kubernetes versions to use to filter the insights.
NOTE: This method appends the values to the existing list (if any). Use
setKubernetesVersions(java.util.Collection)
or withKubernetesVersions(java.util.Collection)
if
you want to override the existing values.
kubernetesVersions
- The Kubernetes versions to use to filter the insights.public InsightsFilter withKubernetesVersions(Collection<String> kubernetesVersions)
The Kubernetes versions to use to filter the insights.
kubernetesVersions
- The Kubernetes versions to use to filter the insights.public List<String> getStatuses()
The statuses to use to filter the insights.
InsightStatusValue
public void setStatuses(Collection<String> statuses)
The statuses to use to filter the insights.
statuses
- The statuses to use to filter the insights.InsightStatusValue
public InsightsFilter withStatuses(String... statuses)
The statuses to use to filter the insights.
NOTE: This method appends the values to the existing list (if any). Use
setStatuses(java.util.Collection)
or withStatuses(java.util.Collection)
if you want to override
the existing values.
statuses
- The statuses to use to filter the insights.InsightStatusValue
public InsightsFilter withStatuses(Collection<String> statuses)
The statuses to use to filter the insights.
statuses
- The statuses to use to filter the insights.InsightStatusValue
public InsightsFilter withStatuses(InsightStatusValue... statuses)
The statuses to use to filter the insights.
statuses
- The statuses to use to filter the insights.InsightStatusValue
public String toString()
toString
in class Object
Object.toString()
public InsightsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.