@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() |
String |
toString() |
RestoreRequestType |
type()
Type of restore request.
|
String |
typeAsString()
Type of restore request.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
RestoreRequestType
public 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 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()
.
Tier
public 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()
.
Tier
public 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()
toBuilder
in interface ToCopyableBuilder<RestoreRequest.Builder,RestoreRequest>
public static RestoreRequest.Builder builder()
public static Class<? extends RestoreRequest.Builder> serializableBuilderClass()
Copyright © 2018. All rights reserved.