@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDataSourceSyncJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDataSourceSyncJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListDataSourceSyncJobsResult |
clone() |
boolean |
equals(Object obj) |
List<DataSourceSyncJob> |
getHistory()
A history of synchronization jobs for the data source connector.
|
String |
getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of jobs.
|
int |
hashCode() |
void |
setHistory(Collection<DataSourceSyncJob> history)
A history of synchronization jobs for the data source connector.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of jobs.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSourceSyncJobsResult |
withHistory(Collection<DataSourceSyncJob> history)
A history of synchronization jobs for the data source connector.
|
ListDataSourceSyncJobsResult |
withHistory(DataSourceSyncJob... history)
A history of synchronization jobs for the data source connector.
|
ListDataSourceSyncJobsResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of jobs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSourceSyncJob> getHistory()
A history of synchronization jobs for the data source connector.
public void setHistory(Collection<DataSourceSyncJob> history)
A history of synchronization jobs for the data source connector.
history
- A history of synchronization jobs for the data source connector.public ListDataSourceSyncJobsResult withHistory(DataSourceSyncJob... history)
A history of synchronization jobs for the data source connector.
NOTE: This method appends the values to the existing list (if any). Use
setHistory(java.util.Collection)
or withHistory(java.util.Collection)
if you want to override
the existing values.
history
- A history of synchronization jobs for the data source connector.public ListDataSourceSyncJobsResult withHistory(Collection<DataSourceSyncJob> history)
A history of synchronization jobs for the data source connector.
history
- A history of synchronization jobs for the data source connector.public void setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of jobs.public String getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.
public ListDataSourceSyncJobsResult withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of jobs.public String toString()
toString
in class Object
Object.toString()
public ListDataSourceSyncJobsResult clone()