@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDiscoveryJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListDiscoveryJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListDiscoveryJobsResult |
clone() |
boolean |
equals(Object obj) |
List<DiscoveryJobListEntry> |
getDiscoveryJobs()
The discovery jobs that you've run.
|
String |
getNextToken()
The opaque string that indicates the position to begin the next list of results in the response.
|
int |
hashCode() |
void |
setDiscoveryJobs(Collection<DiscoveryJobListEntry> discoveryJobs)
The discovery jobs that you've run.
|
void |
setNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListDiscoveryJobsResult |
withDiscoveryJobs(Collection<DiscoveryJobListEntry> discoveryJobs)
The discovery jobs that you've run.
|
ListDiscoveryJobsResult |
withDiscoveryJobs(DiscoveryJobListEntry... discoveryJobs)
The discovery jobs that you've run.
|
ListDiscoveryJobsResult |
withNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DiscoveryJobListEntry> getDiscoveryJobs()
The discovery jobs that you've run.
public void setDiscoveryJobs(Collection<DiscoveryJobListEntry> discoveryJobs)
The discovery jobs that you've run.
discoveryJobs
- The discovery jobs that you've run.public ListDiscoveryJobsResult withDiscoveryJobs(DiscoveryJobListEntry... discoveryJobs)
The discovery jobs that you've run.
NOTE: This method appends the values to the existing list (if any). Use
setDiscoveryJobs(java.util.Collection)
or withDiscoveryJobs(java.util.Collection)
if you want
to override the existing values.
discoveryJobs
- The discovery jobs that you've run.public ListDiscoveryJobsResult withDiscoveryJobs(Collection<DiscoveryJobListEntry> discoveryJobs)
The discovery jobs that you've run.
discoveryJobs
- The discovery jobs that you've run.public void setNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.public String getNextToken()
The opaque string that indicates the position to begin the next list of results in the response.
public ListDiscoveryJobsResult withNextToken(String nextToken)
The opaque string that indicates the position to begin the next list of results in the response.
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.public String toString()
toString
in class Object
Object.toString()
public ListDiscoveryJobsResult clone()