public static class RestoreObjectsDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RestoreObjectsDetails |
build() |
RestoreObjectsDetails.Builder |
copy(RestoreObjectsDetails model) |
RestoreObjectsDetails.Builder |
hours(Integer hours)
The number of hours for which this object will be restored.
|
RestoreObjectsDetails.Builder |
objectName(String objectName)
An object that is in an archive storage tier and needs to be restored.
|
RestoreObjectsDetails.Builder |
versionId(String versionId)
The versionId of the object to restore.
|
public RestoreObjectsDetails.Builder objectName(String objectName)
An object that is in an archive storage tier and needs to be restored.
objectName
- the value to setpublic RestoreObjectsDetails.Builder hours(Integer hours)
The number of hours for which this object will be restored. By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter.
hours
- the value to setpublic RestoreObjectsDetails.Builder versionId(String versionId)
The versionId of the object to restore. Current object version is used by default.
versionId
- the value to setpublic RestoreObjectsDetails build()
public RestoreObjectsDetails.Builder copy(RestoreObjectsDetails model)
Copyright © 2016–2024. All rights reserved.