@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataRepositoryTaskFilter extends Object implements Serializable, Cloneable, StructuredPojo
(Optional) An array of filter objects you can use to filter the response of data repository tasks you will see in the
the response. You can filter the tasks returned in the response by one or more file system IDs, task lifecycles, and
by task type. A filter object consists of a filter Name
, and one or more Values
for the
filter.
Constructor and Description |
---|
DataRepositoryTaskFilter() |
Modifier and Type | Method and Description |
---|---|
DataRepositoryTaskFilter |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Name of the task property to use in filtering the tasks returned in the response.
|
List<String> |
getValues()
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
Name of the task property to use in filtering the tasks returned in the response.
|
void |
setValues(Collection<String> values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
|
String |
toString()
Returns a string representation of this object.
|
DataRepositoryTaskFilter |
withName(DataRepositoryTaskFilterName name)
Name of the task property to use in filtering the tasks returned in the response.
|
DataRepositoryTaskFilter |
withName(String name)
Name of the task property to use in filtering the tasks returned in the response.
|
DataRepositoryTaskFilter |
withValues(Collection<String> values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
|
DataRepositoryTaskFilter |
withValues(String... values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
|
public void setName(String name)
Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as
follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
name
- Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle
states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
DataRepositoryTaskFilterName
public String getName()
Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as
follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle
states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
DataRepositoryTaskFilterName
public DataRepositoryTaskFilter withName(String name)
Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as
follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
name
- Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle
states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
DataRepositoryTaskFilterName
public DataRepositoryTaskFilter withName(DataRepositoryTaskFilterName name)
Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as
follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
name
- Name of the task property to use in filtering the tasks returned in the response.
Use file-system-id
to retrieve data repository tasks for specific file systems.
Use task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle
states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
DataRepositoryTaskFilterName
public List<String> getValues()
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
public void setValues(Collection<String> values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
values
- Use Values to include the specific file system IDs and task lifecycle states for the filters you are
using.public DataRepositoryTaskFilter withValues(String... values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
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
- Use Values to include the specific file system IDs and task lifecycle states for the filters you are
using.public DataRepositoryTaskFilter withValues(Collection<String> values)
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
values
- Use Values to include the specific file system IDs and task lifecycle states for the filters you are
using.public String toString()
toString
in class Object
Object.toString()
public DataRepositoryTaskFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.