Class S3InitiateRestoreObjectOperation
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.S3InitiateRestoreObjectOperation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>
@Generated("software.amazon.awssdk:codegen") public final class S3InitiateRestoreObjectOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>
Contains the configuration parameters for a POST Object restore job. S3 Batch Operations passes every object to the underlying
RestoreObjectAPI operation. For more information about the parameters for this operation, see RestoreObject.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3InitiateRestoreObjectOperation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3InitiateRestoreObjectOperation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerexpirationInDays()This argument specifies how long the S3 Glacier or S3 Glacier Deep Archive object remains available in Amazon S3.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)S3GlacierJobTierglacierJobTier()S3 Batch Operations supportsSTANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier.StringglacierJobTierAsString()S3 Batch Operations supportsSTANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends S3InitiateRestoreObjectOperation.Builder>serializableBuilderClass()S3InitiateRestoreObjectOperation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
expirationInDays
public final 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
ExpirationInDaysset to 1 or greater.Conversely, do not set
ExpirationInDayswhen 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 specifyingExpirationInDaysresults 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.
- Returns:
- 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
ExpirationInDaysset to 1 or greater.Conversely, do not set
ExpirationInDayswhen 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 specifyingExpirationInDaysresults 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.
-
glacierJobTier
public final S3GlacierJobTier glacierJobTier()
S3 Batch Operations supports
STANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier.If the service returns an enum value that is not available in the current SDK version,
glacierJobTierwill returnS3GlacierJobTier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromglacierJobTierAsString().- Returns:
- S3 Batch Operations supports
STANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier. - See Also:
S3GlacierJobTier
-
glacierJobTierAsString
public final String glacierJobTierAsString()
S3 Batch Operations supports
STANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier.If the service returns an enum value that is not available in the current SDK version,
glacierJobTierwill returnS3GlacierJobTier.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromglacierJobTierAsString().- Returns:
- S3 Batch Operations supports
STANDARDandBULKretrieval tiers, but not theEXPEDITEDretrieval tier. - See Also:
S3GlacierJobTier
-
toBuilder
public S3InitiateRestoreObjectOperation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3InitiateRestoreObjectOperation.Builder,S3InitiateRestoreObjectOperation>
-
builder
public static S3InitiateRestoreObjectOperation.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3InitiateRestoreObjectOperation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-