@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRestoreJobsByProtectedResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRestoreJobsByProtectedResourceResult() |
Modifier and Type | Method and Description |
---|---|
ListRestoreJobsByProtectedResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The next item following a partial list of returned items.
|
List<RestoreJobsListMember> |
getRestoreJobs()
An array of objects that contain detailed information about jobs to restore saved resources.>
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The next item following a partial list of returned items.
|
void |
setRestoreJobs(Collection<RestoreJobsListMember> restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
|
String |
toString()
Returns a string representation of this object.
|
ListRestoreJobsByProtectedResourceResult |
withNextToken(String nextToken)
The next item following a partial list of returned items.
|
ListRestoreJobsByProtectedResourceResult |
withRestoreJobs(Collection<RestoreJobsListMember> restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
|
ListRestoreJobsByProtectedResourceResult |
withRestoreJobs(RestoreJobsListMember... restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListRestoreJobsByProtectedResourceResult()
public List<RestoreJobsListMember> getRestoreJobs()
An array of objects that contain detailed information about jobs to restore saved resources.>
public void setRestoreJobs(Collection<RestoreJobsListMember> restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
restoreJobs
- An array of objects that contain detailed information about jobs to restore saved resources.>public ListRestoreJobsByProtectedResourceResult withRestoreJobs(RestoreJobsListMember... restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
NOTE: This method appends the values to the existing list (if any). Use
setRestoreJobs(java.util.Collection)
or withRestoreJobs(java.util.Collection)
if you want to
override the existing values.
restoreJobs
- An array of objects that contain detailed information about jobs to restore saved resources.>public ListRestoreJobsByProtectedResourceResult withRestoreJobs(Collection<RestoreJobsListMember> restoreJobs)
An array of objects that contain detailed information about jobs to restore saved resources.>
restoreJobs
- An array of objects that contain detailed information about jobs to restore saved resources.>public void setNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows youto return more items in your list
starting at the location pointed to by the next token
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows youto return more items in your
list starting at the location pointed to by the next tokenpublic String getNextToken()
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows youto return more items in your list
starting at the location pointed to by the next token
MaxResults
number of items, NextToken
allows youto return more items in your
list starting at the location pointed to by the next tokenpublic ListRestoreJobsByProtectedResourceResult withNextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows youto return more items in your list
starting at the location pointed to by the next token
nextToken
- The next item following a partial list of returned items. For example, if a request is made to return
MaxResults
number of items, NextToken
allows youto return more items in your
list starting at the location pointed to by the next tokenpublic String toString()
toString
in class Object
Object.toString()
public ListRestoreJobsByProtectedResourceResult clone()