@Generated(value="com.ibm.cos.v2: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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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.
|
Map<String,SdkField<?>> |
sdkFieldNameToField() |
List<SdkField<?>> |
sdkFields() |
SelectParameters |
selectParameters()
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
RestoreRequestType |
type()
|
String |
typeAsString()
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
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().
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Type of restore request.
RestoreRequestTypepublic final String typeAsString()
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
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().
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Type of restore request.
RestoreRequestTypepublic 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().
Tierpublic 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().
Tierpublic final String description()
The optional description for the job.
public final SelectParameters selectParameters()
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Describes the parameters for Select job types.
Amazon S3 Select is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<RestoreRequest.Builder,RestoreRequest>public static RestoreRequest.Builder builder()
public static Class<? extends RestoreRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withpublic final String toString()
public final Map<String,SdkField<?>> sdkFieldNameToField()
sdkFieldNameToField in interface SdkPojoCopyright © 2026. All rights reserved.