Class RestoreRequest
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<RestoreRequest.Builder,
RestoreRequest>
Container for restore job parameters.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RestoreRequest.Builder
builder()
final Integer
days()
Lifetime of the active copy in days.final String
The optional description for the job.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final GlacierJobParameters
S3 Glacier related parameters pertaining to this job.final int
hashCode()
final OutputLocation
Describes the location where the restore job's output is stored.final SelectParameters
Describes the parameters for Select job types.static Class
<? extends RestoreRequest.Builder> final Tier
tier()
Retrieval tier at which the restore will be processed.final String
Retrieval tier at which the restore will be processed.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final RestoreRequestType
type()
Type of restore request.final String
Type of restore request.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.
- Returns:
- 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.
-
glacierJobParameters
S3 Glacier related parameters pertaining to this job. Do not use with restores that specify
OutputLocation
.- Returns:
- S3 Glacier related parameters pertaining to this job. Do not use with restores that specify
OutputLocation
.
-
type
Type of restore request.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRestoreRequestType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Type of restore request.
- See Also:
-
typeAsString
Type of restore request.
If the service returns an enum value that is not available in the current SDK version,
type
will returnRestoreRequestType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- Type of restore request.
- See Also:
-
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 returnTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtierAsString()
.- Returns:
- Retrieval tier at which the restore will be processed.
- See Also:
-
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 returnTier.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtierAsString()
.- Returns:
- Retrieval tier at which the restore will be processed.
- See Also:
-
description
The optional description for the job.
- Returns:
- The optional description for the job.
-
selectParameters
Describes the parameters for Select job types.
- Returns:
- Describes the parameters for Select job types.
-
outputLocation
Describes the location where the restore job's output is stored.
- Returns:
- Describes the location where the restore job's output is stored.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<RestoreRequest.Builder,
RestoreRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-