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.Builderbuilder()final Integerdays()Lifetime of the active copy in days.final StringThe optional description for the job.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final GlacierJobParametersS3 Glacier related parameters pertaining to this job.final inthashCode()final OutputLocationDescribes the location where the restore job's output is stored.final SelectParametersstatic Class<? extends RestoreRequest.Builder>final Tiertier()Retrieval tier at which the restore will be processed.final StringRetrieval tier at which the restore will be processed.final StringtoString()Returns a string representation of this object.final RestoreRequestTypetype()final StringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
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,
typewill returnRestoreRequestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
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.
- See Also:
-
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,
typewill returnRestoreRequestType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
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.
- 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,
tierwill 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,
tierwill 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
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.
- Returns:
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.
-
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<RestoreRequest.Builder,RestoreRequest>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-