@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListOptimizationJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListOptimizationJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListOptimizationJobsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use in a subsequent request to get the next set of results following a truncated response.
|
List<OptimizationJobSummary> |
getOptimizationJobSummaries()
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use in a subsequent request to get the next set of results following a truncated response.
|
void |
setOptimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
|
String |
toString()
Returns a string representation of this object.
|
ListOptimizationJobsResult |
withNextToken(String nextToken)
The token to use in a subsequent request to get the next set of results following a truncated response.
|
ListOptimizationJobsResult |
withOptimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
|
ListOptimizationJobsResult |
withOptimizationJobSummaries(OptimizationJobSummary... optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<OptimizationJobSummary> getOptimizationJobSummaries()
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
public void setOptimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
optimizationJobSummaries
- A list of optimization jobs and their properties that matches any of the filters you specified in the
request.public ListOptimizationJobsResult withOptimizationJobSummaries(OptimizationJobSummary... optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setOptimizationJobSummaries(java.util.Collection)
or
withOptimizationJobSummaries(java.util.Collection)
if you want to override the existing values.
optimizationJobSummaries
- A list of optimization jobs and their properties that matches any of the filters you specified in the
request.public ListOptimizationJobsResult withOptimizationJobSummaries(Collection<OptimizationJobSummary> optimizationJobSummaries)
A list of optimization jobs and their properties that matches any of the filters you specified in the request.
optimizationJobSummaries
- A list of optimization jobs and their properties that matches any of the filters you specified in the
request.public void setNextToken(String nextToken)
The token to use in a subsequent request to get the next set of results following a truncated response.
nextToken
- The token to use in a subsequent request to get the next set of results following a truncated response.public String getNextToken()
The token to use in a subsequent request to get the next set of results following a truncated response.
public ListOptimizationJobsResult withNextToken(String nextToken)
The token to use in a subsequent request to get the next set of results following a truncated response.
nextToken
- The token to use in a subsequent request to get the next set of results following a truncated response.public String toString()
toString
in class Object
Object.toString()
public ListOptimizationJobsResult clone()