@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConformancePackEvaluationFilters extends Object implements Serializable, Cloneable, StructuredPojo
Filters a conformance pack by Config rule names, compliance types, Amazon Web Services 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 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)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setComplianceType(String complianceType)
Filters the results by compliance.
|
void |
setConfigRuleNames(Collection<String> configRuleNames)
Filters the results by 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 Config rule names.
|
ConformancePackEvaluationFilters |
withConfigRuleNames(String... configRuleNames)
Filters the results by 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 Config rule names.
public void setConfigRuleNames(Collection<String> configRuleNames)
Filters the results by Config rule names.
configRuleNames - Filters the results by Config rule names.public ConformancePackEvaluationFilters withConfigRuleNames(String... configRuleNames)
Filters the results by 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 Config rule names.public ConformancePackEvaluationFilters withConfigRuleNames(Collection<String> configRuleNames)
Filters the results by Config rule names.
configRuleNames - Filters the results by Config rule names.public void setComplianceType(String complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is
not supported.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
INSUFFICIENT_DATA is not supported.
ConformancePackComplianceTypepublic String getComplianceType()
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is
not supported.
The allowed values are COMPLIANT and NON_COMPLIANT.
INSUFFICIENT_DATA is not supported.
ConformancePackComplianceTypepublic ConformancePackEvaluationFilters withComplianceType(String complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is
not supported.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
INSUFFICIENT_DATA is not supported.
ConformancePackComplianceTypepublic ConformancePackEvaluationFilters withComplianceType(ConformancePackComplianceType complianceType)
Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT. INSUFFICIENT_DATA is
not supported.
complianceType - Filters the results by compliance.
The allowed values are COMPLIANT and NON_COMPLIANT.
INSUFFICIENT_DATA is not supported.
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.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
public void setResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
resourceIds - Filters the results by resource IDs. This is valid only when you provide resource type. If there is no resource type, you will see an error.
public ConformancePackEvaluationFilters withResourceIds(String... resourceIds)
Filters the results by resource IDs.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
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. This is valid only when you provide resource type. If there is no resource type, you will see an error.
public ConformancePackEvaluationFilters withResourceIds(Collection<String> resourceIds)
Filters the results by resource IDs.
This is valid only when you provide resource type. If there is no resource type, you will see an error.
resourceIds - Filters the results by resource IDs. This is valid only when you provide resource type. If there is no resource type, you will see an error.
public String toString()
toString in class ObjectObject.toString()public ConformancePackEvaluationFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.