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 DescribeConfigRulesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getConfigRuleNames()The names of the AWS Config rules for which you want details.StringgetNextToken()ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.inthashCode()voidsetConfigRuleNames(Collection<String> configRuleNames)The names of the AWS Config rules for which you want details.voidsetNextToken(String nextToken)ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeConfigRulesRequestwithConfigRuleNames(String... configRuleNames)The names of the AWS Config rules for which you want details.DescribeConfigRulesRequestwithConfigRuleNames(Collection<String> configRuleNames)The names of the AWS Config rules for which you want details.DescribeConfigRulesRequestwithNextToken(String nextToken)ThenextTokenstring 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
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
getNextToken
public String getNextToken()
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextTokenstring 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
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Parameters:
nextToken- ThenextTokenstring 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeConfigRulesRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-