@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3InitiateRestoreObjectOperation extends Object implements Serializable, Cloneable
Contains the configuration parameters for a POST Object restore job. S3 Batch Operations passes every object to the
underlying RestoreObject
API operation. For more information about the parameters for this operation,
see RestoreObject.
Constructor and Description |
---|
S3InitiateRestoreObjectOperation() |
Modifier and Type | Method and Description |
---|---|
S3InitiateRestoreObjectOperation |
clone() |
boolean |
equals(Object obj) |
Integer |
getExpirationInDays()
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
|
String |
getGlacierJobTier()
S3 Batch Operations supports
STANDARD and BULK retrieval tiers, but not the
EXPEDITED retrieval tier. |
int |
hashCode() |
void |
setExpirationInDays(Integer expirationInDays)
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
|
void |
setGlacierJobTier(String glacierJobTier)
S3 Batch Operations supports
STANDARD and BULK retrieval tiers, but not the
EXPEDITED retrieval tier. |
String |
toString()
Returns a string representation of this object.
|
S3InitiateRestoreObjectOperation |
withExpirationInDays(Integer expirationInDays)
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
|
S3InitiateRestoreObjectOperation |
withGlacierJobTier(S3GlacierJobTier glacierJobTier)
S3 Batch Operations supports
STANDARD and BULK retrieval tiers, but not the
EXPEDITED retrieval tier. |
S3InitiateRestoreObjectOperation |
withGlacierJobTier(String glacierJobTier)
S3 Batch Operations supports
STANDARD and BULK retrieval tiers, but not the
EXPEDITED retrieval tier. |
public void setExpirationInDays(Integer expirationInDays)
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require
ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs that
target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
expirationInDays
- This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in
Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects
require ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs
that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
public Integer getExpirationInDays()
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require
ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs that
target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs
that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
public S3InitiateRestoreObjectOperation withExpirationInDays(Integer expirationInDays)
This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.
S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects require
ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs that
target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
expirationInDays
- This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in
Amazon S3. S3 Initiate Restore Object jobs that target S3 Glacier and S3 Glacier Deep Archive objects
require ExpirationInDays
set to 1 or greater.
Conversely, do not set ExpirationInDays
when creating S3 Initiate Restore Object jobs
that target S3 Intelligent-Tiering Archive Access and Deep Archive Access tier objects. Objects in S3
Intelligent-Tiering archive access tiers are not subject to restore expiry, so specifying
ExpirationInDays
results in restore request failure.
S3 Batch Operations jobs can operate either on S3 Glacier and S3 Glacier Deep Archive storage class objects or on S3 Intelligent-Tiering Archive Access and Deep Archive Access storage tier objects, but not both types in the same job. If you need to restore objects of both types you must create separate Batch Operations jobs.
public void setGlacierJobTier(String glacierJobTier)
S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.
glacierJobTier
- S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.S3GlacierJobTier
public String getGlacierJobTier()
S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.
STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.S3GlacierJobTier
public S3InitiateRestoreObjectOperation withGlacierJobTier(String glacierJobTier)
S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.
glacierJobTier
- S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.S3GlacierJobTier
public S3InitiateRestoreObjectOperation withGlacierJobTier(S3GlacierJobTier glacierJobTier)
S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.
glacierJobTier
- S3 Batch Operations supports STANDARD
and BULK
retrieval tiers, but not the
EXPEDITED
retrieval tier.S3GlacierJobTier
public String toString()
toString
in class Object
Object.toString()
public S3InitiateRestoreObjectOperation clone()