public class GetComplianceDetailsByConfigRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
GetComplianceDetailsByConfigRule operation
.
Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
NOOP
Constructor and Description |
---|
GetComplianceDetailsByConfigRuleRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceDetailsByConfigRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getComplianceTypes()
Specify to filter 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()
The
nextToken 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)
Specify to filter 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)
The
nextToken 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(Collection<String> complianceTypes)
Specify to filter the results by compliance.
|
GetComplianceDetailsByConfigRuleRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Specify to filter the results by compliance.
|
GetComplianceDetailsByConfigRuleRequest |
withComplianceTypes(String... complianceTypes)
Specify to filter 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)
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public GetComplianceDetailsByConfigRuleRequest()
public String getConfigRuleName()
Constraints:
Length: 1 - 64
public void setConfigRuleName(String configRuleName)
Constraints:
Length: 1 - 64
configRuleName
- The name of the AWS Config rule for which you want compliance
information.public GetComplianceDetailsByConfigRuleRequest withConfigRuleName(String configRuleName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
configRuleName
- The name of the AWS Config rule for which you want compliance
information.public List<String> getComplianceTypes()
Compliant
, NonCompliant
, and
NotApplicable
.
Constraints:
Length: 0 - 3
Compliant
, NonCompliant
, and
NotApplicable
.public void setComplianceTypes(Collection<String> complianceTypes)
Compliant
, NonCompliant
, and
NotApplicable
.
Constraints:
Length: 0 - 3
complianceTypes
- Specify to filter the results by compliance. The valid values are
Compliant
, NonCompliant
, and
NotApplicable
.public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(String... complianceTypes)
Compliant
, NonCompliant
, and
NotApplicable
.
NOTE: This method appends the values to the existing list (if
any). Use setComplianceTypes(java.util.Collection)
or withComplianceTypes(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 3
complianceTypes
- Specify to filter the results by compliance. The valid values are
Compliant
, NonCompliant
, and
NotApplicable
.public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(Collection<String> complianceTypes)
Compliant
, NonCompliant
, and
NotApplicable
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 3
complianceTypes
- Specify to filter the results by compliance. The valid values are
Compliant
, NonCompliant
, and
NotApplicable
.public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(ComplianceType... complianceTypes)
Compliant
, NonCompliant
, and
NotApplicable
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 3
complianceTypes
- Specify to filter the results by compliance. The valid values are
Compliant
, NonCompliant
, and
NotApplicable
.public Integer getLimit()
Constraints:
Range: 0 - 100
public void setLimit(Integer limit)
Constraints:
Range: 0 - 100
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.public GetComplianceDetailsByConfigRuleRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
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.public String getNextToken()
nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.public void setNextToken(String nextToken)
nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.nextToken
- The nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.public GetComplianceDetailsByConfigRuleRequest withNextToken(String nextToken)
nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The nextToken
string returned on a previous page that you
use to get the next page of results in a paginated response.public String toString()
toString
in class Object
Object.toString()
public GetComplianceDetailsByConfigRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.