Class DescribeComplianceByConfigRuleRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.DescribeComplianceByConfigRuleRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeComplianceByConfigRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeComplianceByConfigRuleRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeComplianceByConfigRuleRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getComplianceTypes()Filters the results by compliance.List<String>getConfigRuleNames()Specify one or more AWS Config rule names to filter the results by rule.StringgetNextToken()ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.inthashCode()voidsetComplianceTypes(Collection<String> complianceTypes)Filters the results by compliance.voidsetConfigRuleNames(Collection<String> configRuleNames)Specify one or more AWS Config rule names to filter the results by rule.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.DescribeComplianceByConfigRuleRequestwithComplianceTypes(ComplianceType... complianceTypes)Filters the results by compliance.DescribeComplianceByConfigRuleRequestwithComplianceTypes(String... complianceTypes)Filters the results by compliance.DescribeComplianceByConfigRuleRequestwithComplianceTypes(Collection<String> complianceTypes)Filters the results by compliance.DescribeComplianceByConfigRuleRequestwithConfigRuleNames(String... configRuleNames)Specify one or more AWS Config rule names to filter the results by rule.DescribeComplianceByConfigRuleRequestwithConfigRuleNames(Collection<String> configRuleNames)Specify one or more AWS Config rule names to filter the results by rule.DescribeComplianceByConfigRuleRequestwithNextToken(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()
Specify one or more AWS Config rule names to filter the results by rule.
- Returns:
- Specify one or more AWS Config rule names to filter the results by rule.
-
setConfigRuleNames
public void setConfigRuleNames(Collection<String> configRuleNames)
Specify one or more AWS Config rule names to filter the results by rule.
- Parameters:
configRuleNames- Specify one or more AWS Config rule names to filter the results by rule.
-
withConfigRuleNames
public DescribeComplianceByConfigRuleRequest withConfigRuleNames(String... configRuleNames)
Specify one or more AWS Config rule names to filter the results by rule.
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- Specify one or more AWS Config rule names to filter the results by rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConfigRuleNames
public DescribeComplianceByConfigRuleRequest withConfigRuleNames(Collection<String> configRuleNames)
Specify one or more AWS Config rule names to filter the results by rule.
- Parameters:
configRuleNames- Specify one or more AWS Config rule names to filter the results by rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getComplianceTypes
public List<String> getComplianceTypes()
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Returns:
- Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA. - See Also:
ComplianceType
-
setComplianceTypes
public void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- See Also:
ComplianceType
-
withComplianceTypes
public DescribeComplianceByConfigRuleRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.NOTE: This method appends the values to the existing list (if any). Use
setComplianceTypes(java.util.Collection)orwithComplianceTypes(java.util.Collection)if you want to override the existing values.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public DescribeComplianceByConfigRuleRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public DescribeComplianceByConfigRuleRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Parameters:
complianceTypes- Filters the results by compliance.The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
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 DescribeComplianceByConfigRuleRequest 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 DescribeComplianceByConfigRuleRequest 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()
-
-