@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListManagedInsightRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListManagedInsightRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListManagedInsightRulesResult |
clone() |
boolean |
equals(Object obj) |
List<ManagedRuleDescription> |
getManagedRules()
The managed rules that are available for the specified Amazon Web Services resource.
|
String |
getNextToken()
Include this value to get the next set of rules if the value was returned by the previous operation.
|
int |
hashCode() |
void |
setManagedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
|
void |
setNextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.
|
String |
toString()
Returns a string representation of this object.
|
ListManagedInsightRulesResult |
withManagedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
|
ListManagedInsightRulesResult |
withManagedRules(ManagedRuleDescription... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
|
ListManagedInsightRulesResult |
withNextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ManagedRuleDescription> getManagedRules()
The managed rules that are available for the specified Amazon Web Services resource.
public void setManagedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
managedRules
- The managed rules that are available for the specified Amazon Web Services resource.public ListManagedInsightRulesResult withManagedRules(ManagedRuleDescription... managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
NOTE: This method appends the values to the existing list (if any). Use
setManagedRules(java.util.Collection)
or withManagedRules(java.util.Collection)
if you want to
override the existing values.
managedRules
- The managed rules that are available for the specified Amazon Web Services resource.public ListManagedInsightRulesResult withManagedRules(Collection<ManagedRuleDescription> managedRules)
The managed rules that are available for the specified Amazon Web Services resource.
managedRules
- The managed rules that are available for the specified Amazon Web Services resource.public void setNextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.
nextToken
- Include this value to get the next set of rules if the value was returned by the previous operation.public String getNextToken()
Include this value to get the next set of rules if the value was returned by the previous operation.
public ListManagedInsightRulesResult withNextToken(String nextToken)
Include this value to get the next set of rules if the value was returned by the previous operation.
nextToken
- Include this value to get the next set of rules if the value was returned by the previous operation.public String toString()
toString
in class Object
Object.toString()
public ListManagedInsightRulesResult clone()