LifecycleTransition defines when and how objects transition.
| C# |
public class LifecycleTransition : IXmlSerializable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| LifecycleTransition()()()() | Initializes a new instance of the LifecycleTransition class | |
| Date |
Gets and sets the date till transition. The Date is stored in UTC with the time portion stripped from the DateTime.
Required if the Days property is not set.
| |
| Days |
Gets and sets the number of days before transition
Required if the Date property is not set.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| StorageClass |
Gets and sets the storage class the object will transition to.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithDate(DateTime) | Obsolete.
Sets the Date property for this request. The Date is stored in UTC with the time portion stripped from the DateTime.
Required if the Days property is not set.
| |
| WithDays(Int32) | Obsolete.
Sets the Days property for this request.
Required if the Date property is not set.
| |
| WithStorageClass(S3StorageClass) | Obsolete.
Sets the StorageClass property for this request.
|
| Object | |
| LifecycleTransition | |