@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConformancePackEvaluationFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters a conformance pack by AWS Config rule names, compliance types, AWS resource types, and resource IDs.
| Constructor and Description |
|---|
ConformancePackEvaluationFilters() |
| Modifier and Type | Method and Description |
|---|---|
ConformancePackEvaluationFilters |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
Filters the results by compliance.
|
List<String> |
getConfigRuleNames()
Filters the results by AWS Config rule names.
|
List<String> |
getResourceIds()
Filters the results by resource IDs.
|
String |
getResourceType()
Filters the results by the resource type (for example,
"AWS::EC2::Instance"). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setComplianceType(String complianceType)
Filters the results by compliance.
|
void |
setConfigRuleNames(Collection<String> configRuleNames)
Filters the results by AWS Config rule names.
|
void |
setResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
|
void |
setResourceType(String resourceType)
Filters the results by the resource type (for example,
"AWS::EC2::Instance"). |
String |
toString()
Returns a string representation of this object.
|
ConformancePackEvaluationFilters |
withComplianceType(ConformancePackComplianceType complianceType)
Filters the results by compliance.
|
ConformancePackEvaluationFilters |
withComplianceType(String complianceType)
Filters the results by compliance.
|
ConformancePackEvaluationFilters |
withConfigRuleNames(Collection<String> configRuleNames)
Filters the results by AWS Config rule names.
|
ConformancePackEvaluationFilters |
withConfigRuleNames(String... configRuleNames)
Filters the results by AWS Config rule names.
|
ConformancePackEvaluationFilters |
withResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
|
ConformancePackEvaluationFilters |
withResourceIds(String... resourceIds)
Filters the results by resource IDs.
|
ConformancePackEvaluationFilters |
withResourceType(String resourceType)
Filters the results by the resource type (for example,
"AWS::EC2::Instance"). |
public List<String> getConfigRuleNames()
Filters the results by AWS Config rule names.
public void setConfigRuleNames(Collection<String> configRuleNames)
Filters the results by AWS Config rule names.
configRuleNames - Filters the results by AWS Config rule names.public ConformancePackEvaluationFilters withConfigRuleNames(String... configRuleNames)
Filters the results by AWS Config rule names.
NOTE: This method appends the values to the existing list (if any). Use
setConfigRuleNames(java.util.Collection) or withConfigRuleNames(java.util.Collection) if you
want to override the existing values.
configRuleNames - Filters the results by AWS Config rule names.public ConformancePackEvaluationFilters withConfigRuleNames(Collection<String> configRuleNames)
Filters the results by AWS Config rule names.
configRuleNames - Filters the results by AWS Config rule names.public void setComplianceType(String complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
ConformancePackComplianceTypepublic String getComplianceType()
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
The allowed values are COMPLIANT and NON_COMPLIANT.
ConformancePackComplianceTypepublic ConformancePackEvaluationFilters withComplianceType(String complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
ConformancePackComplianceTypepublic ConformancePackEvaluationFilters withComplianceType(ConformancePackComplianceType complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
ConformancePackComplianceTypepublic void setResourceType(String resourceType)
Filters the results by the resource type (for example, "AWS::EC2::Instance").
resourceType - Filters the results by the resource type (for example, "AWS::EC2::Instance").public String getResourceType()
Filters the results by the resource type (for example, "AWS::EC2::Instance").
"AWS::EC2::Instance").public ConformancePackEvaluationFilters withResourceType(String resourceType)
Filters the results by the resource type (for example, "AWS::EC2::Instance").
resourceType - Filters the results by the resource type (for example, "AWS::EC2::Instance").public List<String> getResourceIds()
Filters the results by resource IDs.
public void setResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
resourceIds - Filters the results by resource IDs.public ConformancePackEvaluationFilters withResourceIds(String... resourceIds)
Filters the results by resource IDs.
NOTE: This method appends the values to the existing list (if any). Use
setResourceIds(java.util.Collection) or withResourceIds(java.util.Collection) if you want to
override the existing values.
resourceIds - Filters the results by resource IDs.public ConformancePackEvaluationFilters withResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
resourceIds - Filters the results by resource IDs.public String toString()
toString in class ObjectObject.toString()public ConformancePackEvaluationFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.