Class DescribeConfigRulesResult
- java.lang.Object
-
- com.amazonaws.services.config.model.DescribeConfigRulesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeConfigRulesResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeConfigRulesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeConfigRulesResult
clone()
boolean
equals(Object obj)
List<ConfigRule>
getConfigRules()
The details about your AWS Config rules.String
getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.int
hashCode()
void
setConfigRules(Collection<ConfigRule> configRules)
The details about your AWS Config rules.void
setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeConfigRulesResult
withConfigRules(ConfigRule... configRules)
The details about your AWS Config rules.DescribeConfigRulesResult
withConfigRules(Collection<ConfigRule> configRules)
The details about your AWS Config rules.DescribeConfigRulesResult
withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
-
-
-
Method Detail
-
getConfigRules
public List<ConfigRule> getConfigRules()
The details about your AWS Config rules.
- Returns:
- The details about your AWS Config rules.
-
setConfigRules
public void setConfigRules(Collection<ConfigRule> configRules)
The details about your AWS Config rules.
- Parameters:
configRules
- The details about your AWS Config rules.
-
withConfigRules
public DescribeConfigRulesResult withConfigRules(ConfigRule... configRules)
The details about your AWS Config rules.
NOTE: This method appends the values to the existing list (if any). Use
setConfigRules(java.util.Collection)
orwithConfigRules(java.util.Collection)
if you want to override the existing values.- Parameters:
configRules
- The details about your AWS Config rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConfigRules
public DescribeConfigRulesResult withConfigRules(Collection<ConfigRule> configRules)
The details about your AWS Config rules.
- Parameters:
configRules
- The details about your AWS Config rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Parameters:
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Returns:
- The string that you use in a subsequent request to get the next page of results in a paginated response.
-
withNextToken
public DescribeConfigRulesResult withNextToken(String nextToken)
The string that you use in a subsequent request to get the next page of results in a paginated response.
- Parameters:
nextToken
- The string that you use in a subsequent request to get the next page of results in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeConfigRulesResult clone()
-
-