@Generated(value="software.amazon.awssdk:codegen") public final class RestoreRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RestoreRequest.Builder,RestoreRequest>
Container for restore job parameters.
Modifier and Type | Class and Description |
---|---|
static interface |
RestoreRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static RestoreRequest.Builder |
builder() |
Integer |
days()
Lifetime of the active copy in days.
|
String |
description()
The optional description for the job.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GlacierJobParameters |
glacierJobParameters()
S3 Glacier related parameters pertaining to this job.
|
int |
hashCode() |
OutputLocation |
outputLocation()
Describes the location where the restore job's output is stored.
|
List<SdkField<?>> |
sdkFields() |
SelectParameters |
selectParameters()
Describes the parameters for Select job types.
|
static Class<? extends RestoreRequest.Builder> |
serializableBuilderClass() |
Tier |
tier()
Retrieval tier at which the restore will be processed.
|
String |
tierAsString()
Retrieval tier at which the restore will be processed.
|
RestoreRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RestoreRequestType |
type()
Type of restore request.
|
String |
typeAsString()
Type of restore request.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer days()
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation
.
The Days element is required for regular restores, and must not be provided for select requests.
OutputLocation
.
The Days element is required for regular restores, and must not be provided for select requests.
public final GlacierJobParameters glacierJobParameters()
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify
OutputLocation
.
OutputLocation
.public final RestoreRequestType type()
Type of restore request.
If the service returns an enum value that is not available in the current SDK version, type
will return
RestoreRequestType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
RestoreRequestType
public final String typeAsString()
Type of restore request.
If the service returns an enum value that is not available in the current SDK version, type
will return
RestoreRequestType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
RestoreRequestType
public final Tier tier()
Retrieval tier at which the restore will be processed.
If the service returns an enum value that is not available in the current SDK version, tier
will return
Tier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
tierAsString()
.
Tier
public final String tierAsString()
Retrieval tier at which the restore will be processed.
If the service returns an enum value that is not available in the current SDK version, tier
will return
Tier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
tierAsString()
.
Tier
public final String description()
The optional description for the job.
public final SelectParameters selectParameters()
Describes the parameters for Select job types.
public final OutputLocation outputLocation()
Describes the location where the restore job's output is stored.
public RestoreRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<RestoreRequest.Builder,RestoreRequest>
public static RestoreRequest.Builder builder()
public static Class<? extends RestoreRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.