Resets an attribute of an AMI to its default value.
Note - The productCodes attribute cannot be reset.

C# |
public class ResetImageAttributeRequest : EC2Request

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | ResetImageAttributeRequest()()()() | Initializes a new instance of the ResetImageAttributeRequest class |
![]() | Attribute |
The attribute to reset
|
![]() | 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.) |
![]() | ImageId |
ID of the AMI on which the attribute will be reset
|
![]() | IsSetAttribute()()()() |
Checks if Attribute property is set
|
![]() | IsSetImageId()()()() |
Checks if ImageId property is set
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithAttribute(String) | Obsolete.
Sets the attribute to reset
|
![]() | WithImageId(String) | Obsolete.
Sets the ID of the AMI on which the attribute will be reset
|

Object | ||
![]() | EC2Request | |
![]() | ResetImageAttributeRequest |