public class RestoreObjectRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RestoreObjectRequest.RestoreObjectStatus
Status of the Archive object
|
Modifier and Type | Field and Description |
---|---|
static String |
BULK
Deprecated.
|
static String |
EXPEDITED
Deprecated.
|
static String |
STANDARD
Deprecated.
|
Constructor and Description |
---|
RestoreObjectRequest() |
RestoreObjectRequest(String bucketName,
String objectKey,
int days)
Constructor
|
RestoreObjectRequest(String bucketName,
String objectKey,
String versionId,
int days)
Constructor
|
RestoreObjectRequest(String bucketName,
String objectKey,
String versionId,
int days,
RestoreTierEnum tier)
Constructor
|
RestoreObjectRequest(String bucketName,
String objectKey,
String versionId,
int days,
String tier)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Obtain the bucket name.
|
int |
getDays()
Obtain the retention period of the restored object.
|
String |
getObjectKey()
Obtain the object name.
|
RestoreTierEnum |
getRestoreTier()
Obtain the restore option.
|
String |
getTier()
Deprecated.
|
String |
getVersionId()
Obtain the object version ID.
|
void |
setBucketName(String bucketName)
Set the bucket name.
|
void |
setDays(int days)
Set the retention period of the restored object.
|
void |
setObjectKey(String objectKey)
Set the object name.
|
void |
setRestoreTier(RestoreTierEnum tier)
Set the restore option.
|
void |
setTier(String tier)
Deprecated.
|
void |
setVersionId(String versionId)
Set the version ID of the object.
|
String |
toString() |
@Deprecated public static final String EXPEDITED
@Deprecated public static final String STANDARD
@Deprecated public static final String BULK
public RestoreObjectRequest()
public RestoreObjectRequest(String bucketName, String objectKey, int days)
bucketName
- Bucket nameobjectKey
- Object namedays
- Retention period of the restored objectpublic RestoreObjectRequest(String bucketName, String objectKey, String versionId, int days)
bucketName
- Bucket nameobjectKey
- Object nameversionId
- Version ID of the objectdays
- Retention period of the restored object@Deprecated public RestoreObjectRequest(String bucketName, String objectKey, String versionId, int days, String tier)
bucketName
- Bucket nameobjectKey
- Object nameversionId
- Version ID of the objectdays
- Retention period of the restored objecttier
- Restore optionpublic RestoreObjectRequest(String bucketName, String objectKey, String versionId, int days, RestoreTierEnum tier)
bucketName
- Bucket nameobjectKey
- Object nameversionId
- Version ID of the objectdays
- Retention period of the restored objecttier
- Restore optionpublic String getBucketName()
public void setBucketName(String bucketName)
bucketName
- Bucket namepublic String getObjectKey()
public void setObjectKey(String objectKey)
objectKey
- Object namepublic String getVersionId()
public void setVersionId(String versionId)
versionId
- Version ID of the objectpublic int getDays()
public void setDays(int days)
days
- Retention period of the restored object@Deprecated public String getTier()
getRestoreTier()
@Deprecated public void setTier(String tier)
tier
- Restore optionsetRestoreTier(RestoreTierEnum tier)
public RestoreTierEnum getRestoreTier()
public void setRestoreTier(RestoreTierEnum tier)
tier
- Restore optionCopyright © 2019. All rights reserved.