Class DescribeConfigRulesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.DescribeConfigRulesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DescribeConfigRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeConfigRulesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeConfigRulesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getConfigRuleNames()
The names of the AWS Config rules for which you want details.String
getNextToken()
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.int
hashCode()
void
setConfigRuleNames(Collection<String> configRuleNames)
The names of the AWS Config rules for which you want details.void
setNextToken(String nextToken)
ThenextToken
string returned on a previous page that you use 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.DescribeConfigRulesRequest
withConfigRuleNames(String... configRuleNames)
The names of the AWS Config rules for which you want details.DescribeConfigRulesRequest
withConfigRuleNames(Collection<String> configRuleNames)
The names of the AWS Config rules for which you want details.DescribeConfigRulesRequest
withNextToken(String nextToken)
ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
getConfigRuleNames
public List<String> getConfigRuleNames()
The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
- Returns:
- The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
-
setConfigRuleNames
public void setConfigRuleNames(Collection<String> configRuleNames)
The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
- Parameters:
configRuleNames
- The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
-
withConfigRuleNames
public DescribeConfigRulesRequest withConfigRuleNames(String... configRuleNames)
The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
NOTE: This method appends the values to the existing list (if any). Use
setConfigRuleNames(java.util.Collection)
orwithConfigRuleNames(java.util.Collection)
if you want to override the existing values.- Parameters:
configRuleNames
- The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConfigRuleNames
public DescribeConfigRulesRequest withConfigRuleNames(Collection<String> configRuleNames)
The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.
- Parameters:
configRuleNames
- The names of the AWS Config rules for which you want details. If you do not specify any names, AWS Config returns details for all your rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.
-
withNextToken
public DescribeConfigRulesRequest withNextToken(String nextToken)
The
nextToken
string returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken
- ThenextToken
string returned on a previous page that you use 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 DescribeConfigRulesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-