@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchInsightsFilters extends Object implements Serializable, Cloneable, StructuredPojo
Specifies one or more severity values and one or more status values that are used to search for insights.
| Constructor and Description |
|---|
SearchInsightsFilters() |
| Modifier and Type | Method and Description |
|---|---|
SearchInsightsFilters |
clone() |
boolean |
equals(Object obj) |
ResourceCollection |
getResourceCollection() |
ServiceCollection |
getServiceCollection()
A collection of the names of Amazon Web Services services.
|
List<String> |
getSeverities()
An array of severity values used to search for insights.
|
List<String> |
getStatuses()
An array of status values used to search for insights.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceCollection(ResourceCollection resourceCollection) |
void |
setServiceCollection(ServiceCollection serviceCollection)
A collection of the names of Amazon Web Services services.
|
void |
setSeverities(Collection<String> severities)
An array of severity values used to search for insights.
|
void |
setStatuses(Collection<String> statuses)
An array of status values used to search for insights.
|
String |
toString()
Returns a string representation of this object.
|
SearchInsightsFilters |
withResourceCollection(ResourceCollection resourceCollection) |
SearchInsightsFilters |
withServiceCollection(ServiceCollection serviceCollection)
A collection of the names of Amazon Web Services services.
|
SearchInsightsFilters |
withSeverities(Collection<String> severities)
An array of severity values used to search for insights.
|
SearchInsightsFilters |
withSeverities(InsightSeverity... severities)
An array of severity values used to search for insights.
|
SearchInsightsFilters |
withSeverities(String... severities)
An array of severity values used to search for insights.
|
SearchInsightsFilters |
withStatuses(Collection<String> statuses)
An array of status values used to search for insights.
|
SearchInsightsFilters |
withStatuses(InsightStatus... statuses)
An array of status values used to search for insights.
|
SearchInsightsFilters |
withStatuses(String... statuses)
An array of status values used to search for insights.
|
public List<String> getSeverities()
An array of severity values used to search for insights.
InsightSeveritypublic void setSeverities(Collection<String> severities)
An array of severity values used to search for insights.
severities - An array of severity values used to search for insights.InsightSeveritypublic SearchInsightsFilters withSeverities(String... severities)
An array of severity values used to search for insights.
NOTE: This method appends the values to the existing list (if any). Use
setSeverities(java.util.Collection) or withSeverities(java.util.Collection) if you want to
override the existing values.
severities - An array of severity values used to search for insights.InsightSeveritypublic SearchInsightsFilters withSeverities(Collection<String> severities)
An array of severity values used to search for insights.
severities - An array of severity values used to search for insights.InsightSeveritypublic SearchInsightsFilters withSeverities(InsightSeverity... severities)
An array of severity values used to search for insights.
severities - An array of severity values used to search for insights.InsightSeveritypublic List<String> getStatuses()
An array of status values used to search for insights.
InsightStatuspublic void setStatuses(Collection<String> statuses)
An array of status values used to search for insights.
statuses - An array of status values used to search for insights.InsightStatuspublic SearchInsightsFilters withStatuses(String... statuses)
An array of status values used to search for 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 - An array of status values used to search for insights.InsightStatuspublic SearchInsightsFilters withStatuses(Collection<String> statuses)
An array of status values used to search for insights.
statuses - An array of status values used to search for insights.InsightStatuspublic SearchInsightsFilters withStatuses(InsightStatus... statuses)
An array of status values used to search for insights.
statuses - An array of status values used to search for insights.InsightStatuspublic void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection - public ResourceCollection getResourceCollection()
public SearchInsightsFilters withResourceCollection(ResourceCollection resourceCollection)
resourceCollection - public void setServiceCollection(ServiceCollection serviceCollection)
A collection of the names of Amazon Web Services services.
serviceCollection - A collection of the names of Amazon Web Services services.public ServiceCollection getServiceCollection()
A collection of the names of Amazon Web Services services.
public SearchInsightsFilters withServiceCollection(ServiceCollection serviceCollection)
A collection of the names of Amazon Web Services services.
serviceCollection - A collection of the names of Amazon Web Services services.public String toString()
toString in class ObjectObject.toString()public SearchInsightsFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.