Struct aws_sdk_ec2::input::modify_snapshot_attribute_input::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ModifySnapshotAttributeInput
Implementations
The snapshot attribute to modify. Only volume creation permissions can be modified.
The snapshot attribute to modify. Only volume creation permissions can be modified.
A JSON representation of the snapshot attribute modification.
pub fn set_create_volume_permission(
self,
input: Option<CreateVolumePermissionModifications>
) -> Self
pub fn set_create_volume_permission(
self,
input: Option<CreateVolumePermissionModifications>
) -> Self
A JSON representation of the snapshot attribute modification.
Appends an item to group_names
.
To override the contents of this collection use set_group_names
.
The group to modify for the snapshot.
The group to modify for the snapshot.
The type of operation to perform to the attribute.
The type of operation to perform to the attribute.
The ID of the snapshot.
The ID of the snapshot.
Appends an item to user_ids
.
To override the contents of this collection use set_user_ids
.
The account ID to modify for the snapshot.
The account ID to modify for the snapshot.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Consumes the builder and constructs a ModifySnapshotAttributeInput
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more