@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociationFilters extends Object implements Serializable, Cloneable, StructuredPojo
Options for filtering the ListConfigurationPolicyAssociations
response. You can filter by the Amazon
Resource Name (ARN) or universally unique identifier (UUID) of a configuration policy, AssociationType
,
or AssociationStatus
.
Constructor and Description |
---|
AssociationFilters() |
Modifier and Type | Method and Description |
---|---|
AssociationFilters |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationStatus()
The current status of the association between a target and a configuration policy.
|
String |
getAssociationType()
Indicates whether the association between a target and a configuration was directly applied by the Security Hub
delegated administrator or inherited from a parent.
|
String |
getConfigurationPolicyId()
The ARN or UUID of the configuration policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationStatus(String associationStatus)
The current status of the association between a target and a configuration policy.
|
void |
setAssociationType(String associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub
delegated administrator or inherited from a parent.
|
void |
setConfigurationPolicyId(String configurationPolicyId)
The ARN or UUID of the configuration policy.
|
String |
toString()
Returns a string representation of this object.
|
AssociationFilters |
withAssociationStatus(ConfigurationPolicyAssociationStatus associationStatus)
The current status of the association between a target and a configuration policy.
|
AssociationFilters |
withAssociationStatus(String associationStatus)
The current status of the association between a target and a configuration policy.
|
AssociationFilters |
withAssociationType(AssociationType associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub
delegated administrator or inherited from a parent.
|
AssociationFilters |
withAssociationType(String associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub
delegated administrator or inherited from a parent.
|
AssociationFilters |
withConfigurationPolicyId(String configurationPolicyId)
The ARN or UUID of the configuration policy.
|
public void setConfigurationPolicyId(String configurationPolicyId)
The ARN or UUID of the configuration policy.
configurationPolicyId
- The ARN or UUID of the configuration policy.public String getConfigurationPolicyId()
The ARN or UUID of the configuration policy.
public AssociationFilters withConfigurationPolicyId(String configurationPolicyId)
The ARN or UUID of the configuration policy.
configurationPolicyId
- The ARN or UUID of the configuration policy.public void setAssociationType(String associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType
- Indicates whether the association between a target and a configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.AssociationType
public String getAssociationType()
Indicates whether the association between a target and a configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
AssociationType
public AssociationFilters withAssociationType(String associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType
- Indicates whether the association between a target and a configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.AssociationType
public AssociationFilters withAssociationType(AssociationType associationType)
Indicates whether the association between a target and a configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType
- Indicates whether the association between a target and a configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.AssociationType
public void setAssociationStatus(String associationStatus)
The current status of the association between a target and a configuration policy.
associationStatus
- The current status of the association between a target and a configuration policy.ConfigurationPolicyAssociationStatus
public String getAssociationStatus()
The current status of the association between a target and a configuration policy.
ConfigurationPolicyAssociationStatus
public AssociationFilters withAssociationStatus(String associationStatus)
The current status of the association between a target and a configuration policy.
associationStatus
- The current status of the association between a target and a configuration policy.ConfigurationPolicyAssociationStatus
public AssociationFilters withAssociationStatus(ConfigurationPolicyAssociationStatus associationStatus)
The current status of the association between a target and a configuration policy.
associationStatus
- The current status of the association between a target and a configuration policy.ConfigurationPolicyAssociationStatus
public String toString()
toString
in class Object
Object.toString()
public AssociationFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.