C# Class Amazon.EC2.Model.ResetSnapshotAttributeRequest

Container for the parameters to the ResetSnapshotAttribute operation.

Resets permission settings for the specified snapshot.

For more information on modifying snapshot permissions, see Sharing Snapshots in the Amazon Elastic Compute Cloud User Guide .

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
ResetSnapshotAttributeRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

ResetSnapshotAttributeRequest ( string snapshotId, SnapshotAttributeName attribute ) : System

Instantiates ResetSnapshotAttributeRequest with the parameterized properties

Private Methods

Method Description
IsSetAttribute ( ) : bool
IsSetSnapshotId ( ) : bool

Method Details

ResetSnapshotAttributeRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public ResetSnapshotAttributeRequest ( ) : System
return System

ResetSnapshotAttributeRequest() public method

Instantiates ResetSnapshotAttributeRequest with the parameterized properties
public ResetSnapshotAttributeRequest ( string snapshotId, SnapshotAttributeName attribute ) : System
snapshotId string The ID of the snapshot.
attribute SnapshotAttributeName The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
return System