@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
GlacierJobParameters |
glacierJobParameters()
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()
Glacier retrieval tier at which the restore will be processed.
|
String |
tierAsString()
Glacier 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() |
RestoreRequestType |
type()
Type of restore request.
|
String |
typeAsString()
Type of restore request.
|
copypublic Integer days()
Lifetime of the active copy in days. Do not use with restores that specify OutputLocation.
public GlacierJobParameters glacierJobParameters()
Glacier related parameters pertaining to this job. Do not use with restores that specify OutputLocation.
public 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().
RestoreRequestTypepublic 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().
RestoreRequestTypepublic Tier tier()
Glacier 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 String tierAsString()
Glacier 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 String description()
The optional description for the job.
public SelectParameters selectParameters()
Describes the parameters for Select job types.
public 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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.