@Generated(value="software.amazon.awssdk:codegen") public final class ListRestoreJobsRequest extends BackupRequest implements ToCopyableBuilder<ListRestoreJobsRequest.Builder,ListRestoreJobsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListRestoreJobsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListRestoreJobsRequest.Builder |
builder() |
String |
byAccountId()
The account ID to list the jobs from.
|
Instant |
byCompleteAfter()
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
|
Instant |
byCompleteBefore()
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
|
Instant |
byCreatedAfter()
Returns only restore jobs that were created after the specified date.
|
Instant |
byCreatedBefore()
Returns only restore jobs that were created before the specified date.
|
RestoreJobStatus |
byStatus()
Returns only restore jobs associated with the specified job status.
|
String |
byStatusAsString()
Returns only restore jobs associated with the specified job status.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of items to be returned.
|
String |
nextToken()
The next item following a partial list of returned items.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListRestoreJobsRequest.Builder> |
serializableBuilderClass() |
ListRestoreJobsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 you to return more items in your list
starting at the location pointed to by the next token.
maxResults number of items, NextToken allows you to return more items in your
list starting at the location pointed to by the next token.public final Integer maxResults()
The maximum number of items to be returned.
public final String byAccountId()
The account ID to list the jobs from. Returns only restore jobs associated with the specified account ID.
public final Instant byCreatedBefore()
Returns only restore jobs that were created before the specified date.
public final Instant byCreatedAfter()
Returns only restore jobs that were created after the specified date.
public final RestoreJobStatus byStatus()
Returns only restore jobs associated with the specified job status.
If the service returns an enum value that is not available in the current SDK version, byStatus will
return RestoreJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byStatusAsString().
RestoreJobStatuspublic final String byStatusAsString()
Returns only restore jobs associated with the specified job status.
If the service returns an enum value that is not available in the current SDK version, byStatus will
return RestoreJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
byStatusAsString().
RestoreJobStatuspublic final Instant byCompleteBefore()
Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC).
public final Instant byCompleteAfter()
Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC).
public ListRestoreJobsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListRestoreJobsRequest.Builder,ListRestoreJobsRequest>toBuilder in class BackupRequestpublic static ListRestoreJobsRequest.Builder builder()
public static Class<? extends ListRestoreJobsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.