@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigRuleComplianceFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters the compliance results based on account ID, region, compliance type, and rule name.
Constructor and Description |
---|
ConfigRuleComplianceFilters() |
Modifier and Type | Method and Description |
---|---|
ConfigRuleComplianceFilters |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The 12-digit account ID of the source account.
|
String |
getAwsRegion()
The source region where the data is aggregated.
|
String |
getComplianceType()
The rule compliance status.
|
String |
getConfigRuleName()
The name of the Config rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The 12-digit account ID of the source account.
|
void |
setAwsRegion(String awsRegion)
The source region where the data is aggregated.
|
void |
setComplianceType(String complianceType)
The rule compliance status.
|
void |
setConfigRuleName(String configRuleName)
The name of the Config rule.
|
String |
toString()
Returns a string representation of this object.
|
ConfigRuleComplianceFilters |
withAccountId(String accountId)
The 12-digit account ID of the source account.
|
ConfigRuleComplianceFilters |
withAwsRegion(String awsRegion)
The source region where the data is aggregated.
|
ConfigRuleComplianceFilters |
withComplianceType(ComplianceType complianceType)
The rule compliance status.
|
ConfigRuleComplianceFilters |
withComplianceType(String complianceType)
The rule compliance status.
|
ConfigRuleComplianceFilters |
withConfigRuleName(String configRuleName)
The name of the Config rule.
|
public void setConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.public String getConfigRuleName()
The name of the Config rule.
public ConfigRuleComplianceFilters withConfigRuleName(String configRuleName)
The name of the Config rule.
configRuleName
- The name of the Config rule.public void setComplianceType(String complianceType)
The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and
NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
complianceType
- The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
ComplianceType
public String getComplianceType()
The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and
NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
ComplianceType
public ConfigRuleComplianceFilters withComplianceType(String complianceType)
The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and
NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
complianceType
- The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
ComplianceType
public ConfigRuleComplianceFilters withComplianceType(ComplianceType complianceType)
The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and
NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
complianceType
- The rule compliance status.
For the ConfigRuleComplianceFilters
data type, Config supports only COMPLIANT
and NON_COMPLIANT
. Config does not support the NOT_APPLICABLE
and the
INSUFFICIENT_DATA
values.
ComplianceType
public void setAccountId(String accountId)
The 12-digit account ID of the source account.
accountId
- The 12-digit account ID of the source account.public String getAccountId()
The 12-digit account ID of the source account.
public ConfigRuleComplianceFilters withAccountId(String accountId)
The 12-digit account ID of the source account.
accountId
- The 12-digit account ID of the source account.public void setAwsRegion(String awsRegion)
The source region where the data is aggregated.
awsRegion
- The source region where the data is aggregated.public String getAwsRegion()
The source region where the data is aggregated.
public ConfigRuleComplianceFilters withAwsRegion(String awsRegion)
The source region where the data is aggregated.
awsRegion
- The source region where the data is aggregated.public String toString()
toString
in class Object
Object.toString()
public ConfigRuleComplianceFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.