@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportFilter extends Object implements Serializable, Cloneable, StructuredPojo
Used to select which agent's data is to be exported. A single agent ID may be selected for export using the StartExportTask action.
Constructor and Description |
---|
ExportFilter() |
Modifier and Type | Method and Description |
---|---|
ExportFilter |
clone() |
boolean |
equals(Object obj) |
String |
getCondition()
Supported condition:
EQUALS |
String |
getName()
A single
ExportFilter name. |
List<String> |
getValues()
A single agent ID for a Discovery Agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCondition(String condition)
Supported condition:
EQUALS |
void |
setName(String name)
A single
ExportFilter name. |
void |
setValues(Collection<String> values)
A single agent ID for a Discovery Agent.
|
String |
toString()
Returns a string representation of this object.
|
ExportFilter |
withCondition(String condition)
Supported condition:
EQUALS |
ExportFilter |
withName(String name)
A single
ExportFilter name. |
ExportFilter |
withValues(Collection<String> values)
A single agent ID for a Discovery Agent.
|
ExportFilter |
withValues(String... values)
A single agent ID for a Discovery Agent.
|
public void setName(String name)
A single ExportFilter
name. Supported filters: agentIds
.
name
- A single ExportFilter
name. Supported filters: agentIds
.public String getName()
A single ExportFilter
name. Supported filters: agentIds
.
ExportFilter
name. Supported filters: agentIds
.public ExportFilter withName(String name)
A single ExportFilter
name. Supported filters: agentIds
.
name
- A single ExportFilter
name. Supported filters: agentIds
.public List<String> getValues()
A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.
o-0123456789abcdef0
.public void setValues(Collection<String> values)
A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.
values
- A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.public ExportFilter withValues(String... values)
A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.public ExportFilter withValues(Collection<String> values)
A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.
values
- A single agent ID for a Discovery Agent. An agent ID can be found using the DescribeAgents action. Typically an ADS agent ID is in the form o-0123456789abcdef0
.public void setCondition(String condition)
Supported condition: EQUALS
condition
- Supported condition: EQUALS
public String getCondition()
Supported condition: EQUALS
EQUALS
public ExportFilter withCondition(String condition)
Supported condition: EQUALS
condition
- Supported condition: EQUALS
public String toString()
toString
in class Object
Object.toString()
public ExportFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.