Class GetComplianceDetailsByConfigRuleRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.config.model.GetComplianceDetailsByConfigRuleRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetComplianceDetailsByConfigRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetComplianceDetailsByConfigRuleRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetComplianceDetailsByConfigRuleRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getComplianceTypes()
Filters the results by compliance.String
getConfigRuleName()
The name of the AWS Config rule for which you want compliance information.Integer
getLimit()
The maximum number of evaluation results returned on each page.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
setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.void
setConfigRuleName(String configRuleName)
The name of the AWS Config rule for which you want compliance information.void
setLimit(Integer limit)
The maximum number of evaluation results returned on each page.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.GetComplianceDetailsByConfigRuleRequest
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.GetComplianceDetailsByConfigRuleRequest
withComplianceTypes(String... complianceTypes)
Filters the results by compliance.GetComplianceDetailsByConfigRuleRequest
withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.GetComplianceDetailsByConfigRuleRequest
withConfigRuleName(String configRuleName)
The name of the AWS Config rule for which you want compliance information.GetComplianceDetailsByConfigRuleRequest
withLimit(Integer limit)
The maximum number of evaluation results returned on each page.GetComplianceDetailsByConfigRuleRequest
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
-
setConfigRuleName
public void setConfigRuleName(String configRuleName)
The name of the AWS Config rule for which you want compliance information.
- Parameters:
configRuleName
- The name of the AWS Config rule for which you want compliance information.
-
getConfigRuleName
public String getConfigRuleName()
The name of the AWS Config rule for which you want compliance information.
- Returns:
- The name of the AWS Config rule for which you want compliance information.
-
withConfigRuleName
public GetComplianceDetailsByConfigRuleRequest withConfigRuleName(String configRuleName)
The name of the AWS Config rule for which you want compliance information.
- Parameters:
configRuleName
- The name of the AWS Config rule for which you want compliance information.- 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
, andNOT_APPLICABLE
.- Returns:
- Filters the results by compliance.
The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
. - See Also:
ComplianceType
-
setComplianceTypes
public void setComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- Parameters:
complianceTypes
- Filters the results by compliance.The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(String... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.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
, andNOT_APPLICABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(Collection<String> complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- Parameters:
complianceTypes
- Filters the results by compliance.The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
withComplianceTypes
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- Parameters:
complianceTypes
- Filters the results by compliance.The allowed values are
COMPLIANT
,NON_COMPLIANT
, andNOT_APPLICABLE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComplianceType
-
setLimit
public void setLimit(Integer limit)
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Parameters:
limit
- The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
-
getLimit
public Integer getLimit()
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Returns:
- The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
-
withLimit
public GetComplianceDetailsByConfigRuleRequest withLimit(Integer limit)
The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
- Parameters:
limit
- The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.- 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 GetComplianceDetailsByConfigRuleRequest 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 GetComplianceDetailsByConfigRuleRequest 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()
-
-