@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnabledControlFilter extends Object implements Serializable, Cloneable, StructuredPojo
A structure that returns a set of control identifiers, the control status for each control in the set, and the drift status for each control in the set.
Constructor and Description |
---|
EnabledControlFilter() |
Modifier and Type | Method and Description |
---|---|
EnabledControlFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getControlIdentifiers()
The set of
controlIdentifier returned by the filter. |
List<String> |
getDriftStatuses()
A list of
DriftStatus items. |
List<String> |
getStatuses()
A list of
EnablementStatus items. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setControlIdentifiers(Collection<String> controlIdentifiers)
The set of
controlIdentifier returned by the filter. |
void |
setDriftStatuses(Collection<String> driftStatuses)
A list of
DriftStatus items. |
void |
setStatuses(Collection<String> statuses)
A list of
EnablementStatus items. |
String |
toString()
Returns a string representation of this object.
|
EnabledControlFilter |
withControlIdentifiers(Collection<String> controlIdentifiers)
The set of
controlIdentifier returned by the filter. |
EnabledControlFilter |
withControlIdentifiers(String... controlIdentifiers)
The set of
controlIdentifier returned by the filter. |
EnabledControlFilter |
withDriftStatuses(Collection<String> driftStatuses)
A list of
DriftStatus items. |
EnabledControlFilter |
withDriftStatuses(DriftStatus... driftStatuses)
A list of
DriftStatus items. |
EnabledControlFilter |
withDriftStatuses(String... driftStatuses)
A list of
DriftStatus items. |
EnabledControlFilter |
withStatuses(Collection<String> statuses)
A list of
EnablementStatus items. |
EnabledControlFilter |
withStatuses(EnablementStatus... statuses)
A list of
EnablementStatus items. |
EnabledControlFilter |
withStatuses(String... statuses)
A list of
EnablementStatus items. |
public List<String> getControlIdentifiers()
The set of controlIdentifier
returned by the filter.
controlIdentifier
returned by the filter.public void setControlIdentifiers(Collection<String> controlIdentifiers)
The set of controlIdentifier
returned by the filter.
controlIdentifiers
- The set of controlIdentifier
returned by the filter.public EnabledControlFilter withControlIdentifiers(String... controlIdentifiers)
The set of controlIdentifier
returned by the filter.
NOTE: This method appends the values to the existing list (if any). Use
setControlIdentifiers(java.util.Collection)
or withControlIdentifiers(java.util.Collection)
if
you want to override the existing values.
controlIdentifiers
- The set of controlIdentifier
returned by the filter.public EnabledControlFilter withControlIdentifiers(Collection<String> controlIdentifiers)
The set of controlIdentifier
returned by the filter.
controlIdentifiers
- The set of controlIdentifier
returned by the filter.public List<String> getDriftStatuses()
A list of DriftStatus
items.
DriftStatus
items.DriftStatus
public void setDriftStatuses(Collection<String> driftStatuses)
A list of DriftStatus
items.
driftStatuses
- A list of DriftStatus
items.DriftStatus
public EnabledControlFilter withDriftStatuses(String... driftStatuses)
A list of DriftStatus
items.
NOTE: This method appends the values to the existing list (if any). Use
setDriftStatuses(java.util.Collection)
or withDriftStatuses(java.util.Collection)
if you want
to override the existing values.
driftStatuses
- A list of DriftStatus
items.DriftStatus
public EnabledControlFilter withDriftStatuses(Collection<String> driftStatuses)
A list of DriftStatus
items.
driftStatuses
- A list of DriftStatus
items.DriftStatus
public EnabledControlFilter withDriftStatuses(DriftStatus... driftStatuses)
A list of DriftStatus
items.
driftStatuses
- A list of DriftStatus
items.DriftStatus
public List<String> getStatuses()
A list of EnablementStatus
items.
EnablementStatus
items.EnablementStatus
public void setStatuses(Collection<String> statuses)
A list of EnablementStatus
items.
statuses
- A list of EnablementStatus
items.EnablementStatus
public EnabledControlFilter withStatuses(String... statuses)
A list of EnablementStatus
items.
NOTE: This method appends the values to the existing list (if any). Use
setStatuses(java.util.Collection)
or withStatuses(java.util.Collection)
if you want to override
the existing values.
statuses
- A list of EnablementStatus
items.EnablementStatus
public EnabledControlFilter withStatuses(Collection<String> statuses)
A list of EnablementStatus
items.
statuses
- A list of EnablementStatus
items.EnablementStatus
public EnabledControlFilter withStatuses(EnablementStatus... statuses)
A list of EnablementStatus
items.
statuses
- A list of EnablementStatus
items.EnablementStatus
public String toString()
toString
in class Object
Object.toString()
public EnabledControlFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.