AWS SDK for .NET Documentation
ModifyInstanceAttributeRequest Class
AmazonAmazon.EC2.ModelModifyInstanceAttributeRequest Did this page help you?   Yes   No    Tell us about it...
Modifies an attribute of an instance.
Declaration Syntax
C#
public class ModifyInstanceAttributeRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ModifyInstanceAttributeRequest()()()()
Initializes a new instance of the ModifyInstanceAttributeRequest class

Attribute
Name of the attribute to modify.

BlockDeviceMapping
New mapping that defines native device names to use when exposing virtual devices.

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
GroupId
New security groups that an instance belongs to.

InstanceId
The instance ID.

IsSetAttribute()()()()
Checks if Attribute property is set

IsSetBlockDeviceMapping()()()()
Checks if BlockDeviceMapping property is set

IsSetGroupId()()()()
Checks if GroupId property is set

IsSetInstanceId()()()()
Checks if InstanceId property is set

IsSetValue()()()()
Checks if Value property is set

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Value
New value of the attribute.

WithAttribute(String) Obsolete.
Sets the name of the attribute to modify.

WithBlockDeviceMapping(array<InstanceBlockDeviceMappingParameter>[]()[][]) Obsolete.
Sets the new mapping that defines native device names to use when exposing virtual devices.

WithGroupId(array<String>[]()[][]) Obsolete.
Sets the new security groups that an instance belongs to.

WithInstanceId(String) Obsolete.
Sets the instance ID.

WithValue(String) Obsolete.
Sets the new value of the attribute.

Inheritance Hierarchy
Object
EC2Request
 ModifyInstanceAttributeRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)