Struct aws_sdk_ec2::input::ResetSnapshotAttributeInput
source · #[non_exhaustive]pub struct ResetSnapshotAttributeInput { /* private fields */ }
Implementations§
source§impl ResetSnapshotAttributeInput
impl ResetSnapshotAttributeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ResetSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ResetSnapshotAttribute
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResetSnapshotAttributeInput
.
source§impl ResetSnapshotAttributeInput
impl ResetSnapshotAttributeInput
sourcepub fn attribute(&self) -> Option<&SnapshotAttributeName>
pub fn attribute(&self) -> Option<&SnapshotAttributeName>
The attribute to reset. Currently, only the attribute for permission to create volumes can be reset.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the snapshot.
Trait Implementations§
source§impl Clone for ResetSnapshotAttributeInput
impl Clone for ResetSnapshotAttributeInput
source§fn clone(&self) -> ResetSnapshotAttributeInput
fn clone(&self) -> ResetSnapshotAttributeInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResetSnapshotAttributeInput
impl Debug for ResetSnapshotAttributeInput
source§impl PartialEq<ResetSnapshotAttributeInput> for ResetSnapshotAttributeInput
impl PartialEq<ResetSnapshotAttributeInput> for ResetSnapshotAttributeInput
source§fn eq(&self, other: &ResetSnapshotAttributeInput) -> bool
fn eq(&self, other: &ResetSnapshotAttributeInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.