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) Indicates whether some other object is "equal to" this one by SDK fields.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 SelectParametersDescribes the parameters for Select job types.static 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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final RestoreRequestTypetype()Type of restore request.final StringType 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,
typewill 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,
typewill 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,
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
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RestoreRequest.Builder,RestoreRequest> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-