public class GetComplianceDetailsByConfigRuleRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
complianceTypes
Filters the results by compliance.
|
private java.lang.String |
configRuleName
The name of the AWS Config rule for which you want compliance
information.
|
private java.lang.Integer |
limit
The maximum number of evaluation results returned on each page.
|
private java.lang.String |
nextToken
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
NOOP
Constructor and Description |
---|
GetComplianceDetailsByConfigRuleRequest() |
Modifier and Type | Method and Description |
---|---|
GetComplianceDetailsByConfigRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getComplianceTypes()
Filters the results by compliance.
|
java.lang.String |
getConfigRuleName()
The name of the AWS Config rule for which you want compliance
information.
|
java.lang.Integer |
getLimit()
The maximum number of evaluation results returned on each page.
|
java.lang.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(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
|
void |
setConfigRuleName(java.lang.String configRuleName)
The name of the AWS Config rule for which you want compliance
information.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of evaluation results returned on each page.
|
void |
setNextToken(java.lang.String nextToken)
The
nextToken string returned on a previous page that you
use to get the next page of results in a paginated response. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetComplianceDetailsByConfigRuleRequest |
withComplianceTypes(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByConfigRuleRequest |
withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByConfigRuleRequest |
withComplianceTypes(java.lang.String... complianceTypes)
Filters the results by compliance.
|
GetComplianceDetailsByConfigRuleRequest |
withConfigRuleName(java.lang.String configRuleName)
The name of the AWS Config rule for which you want compliance
information.
|
GetComplianceDetailsByConfigRuleRequest |
withLimit(java.lang.Integer limit)
The maximum number of evaluation results returned on each page.
|
GetComplianceDetailsByConfigRuleRequest |
withNextToken(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String configRuleName
The name of the AWS Config rule for which you want compliance information.
private SdkInternalList<java.lang.String> complianceTypes
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
private java.lang.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.
private java.lang.String 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()
public void setConfigRuleName(java.lang.String configRuleName)
The name of the AWS Config rule for which you want compliance information.
configRuleName
- The name of the AWS Config rule for which you want compliance
information.public java.lang.String getConfigRuleName()
The name of the AWS Config rule for which you want compliance information.
public GetComplianceDetailsByConfigRuleRequest withConfigRuleName(java.lang.String configRuleName)
The name of the AWS Config rule for which you want compliance information.
configRuleName
- The name of the AWS Config rule for which you want compliance
information.public java.util.List<java.lang.String> getComplianceTypes()
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public void setComplianceTypes(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(java.lang.String... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
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.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(java.util.Collection<java.lang.String> complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public GetComplianceDetailsByConfigRuleRequest withComplianceTypes(ComplianceType... complianceTypes)
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and NOT_APPLICABLE
.
complianceTypes
- Filters the results by compliance.
The allowed values are COMPLIANT
,
NON_COMPLIANT
, and NOT_APPLICABLE
.
ComplianceType
public void setLimit(java.lang.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.
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 java.lang.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.
public GetComplianceDetailsByConfigRuleRequest withLimit(java.lang.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.
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 void setNextToken(java.lang.String nextToken)
The 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 java.lang.String getNextToken()
The 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 GetComplianceDetailsByConfigRuleRequest withNextToken(java.lang.String nextToken)
The 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetComplianceDetailsByConfigRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()