@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobsRequestFilters extends Object implements Serializable, Cloneable, StructuredPojo
A set of filters by which to return Jobs.
Constructor and Description |
---|
DescribeJobsRequestFilters() |
Modifier and Type | Method and Description |
---|---|
DescribeJobsRequestFilters |
clone() |
boolean |
equals(Object obj) |
String |
getFromDate()
The start date in a date range query.
|
List<String> |
getJobIDs()
An array of Job IDs that should be returned.
|
String |
getToDate()
The end date in a date range query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFromDate(String fromDate)
The start date in a date range query.
|
void |
setJobIDs(Collection<String> jobIDs)
An array of Job IDs that should be returned.
|
void |
setToDate(String toDate)
The end date in a date range query.
|
String |
toString()
Returns a string representation of this object.
|
DescribeJobsRequestFilters |
withFromDate(String fromDate)
The start date in a date range query.
|
DescribeJobsRequestFilters |
withJobIDs(Collection<String> jobIDs)
An array of Job IDs that should be returned.
|
DescribeJobsRequestFilters |
withJobIDs(String... jobIDs)
An array of Job IDs that should be returned.
|
DescribeJobsRequestFilters |
withToDate(String toDate)
The end date in a date range query.
|
public void setFromDate(String fromDate)
The start date in a date range query.
fromDate
- The start date in a date range query.public String getFromDate()
The start date in a date range query.
public DescribeJobsRequestFilters withFromDate(String fromDate)
The start date in a date range query.
fromDate
- The start date in a date range query.public List<String> getJobIDs()
An array of Job IDs that should be returned. An empty array means all jobs.
public void setJobIDs(Collection<String> jobIDs)
An array of Job IDs that should be returned. An empty array means all jobs.
jobIDs
- An array of Job IDs that should be returned. An empty array means all jobs.public DescribeJobsRequestFilters withJobIDs(String... jobIDs)
An array of Job IDs that should be returned. An empty array means all jobs.
NOTE: This method appends the values to the existing list (if any). Use
setJobIDs(java.util.Collection)
or withJobIDs(java.util.Collection)
if you want to override the
existing values.
jobIDs
- An array of Job IDs that should be returned. An empty array means all jobs.public DescribeJobsRequestFilters withJobIDs(Collection<String> jobIDs)
An array of Job IDs that should be returned. An empty array means all jobs.
jobIDs
- An array of Job IDs that should be returned. An empty array means all jobs.public void setToDate(String toDate)
The end date in a date range query.
toDate
- The end date in a date range query.public String getToDate()
The end date in a date range query.
public DescribeJobsRequestFilters withToDate(String toDate)
The end date in a date range query.
toDate
- The end date in a date range query.public String toString()
toString
in class Object
Object.toString()
public DescribeJobsRequestFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.