Struct aws_sdk_ec2::operation::modify_instance_metadata_options::builders::ModifyInstanceMetadataOptionsOutputBuilder
source · #[non_exhaustive]pub struct ModifyInstanceMetadataOptionsOutputBuilder { /* private fields */ }
Expand description
A builder for ModifyInstanceMetadataOptionsOutput
.
Implementations§
source§impl ModifyInstanceMetadataOptionsOutputBuilder
impl ModifyInstanceMetadataOptionsOutputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance.
sourcepub fn instance_metadata_options(
self,
input: InstanceMetadataOptionsResponse
) -> Self
pub fn instance_metadata_options( self, input: InstanceMetadataOptionsResponse ) -> Self
The metadata options for the instance.
sourcepub fn set_instance_metadata_options(
self,
input: Option<InstanceMetadataOptionsResponse>
) -> Self
pub fn set_instance_metadata_options( self, input: Option<InstanceMetadataOptionsResponse> ) -> Self
The metadata options for the instance.
sourcepub fn get_instance_metadata_options(
&self
) -> &Option<InstanceMetadataOptionsResponse>
pub fn get_instance_metadata_options( &self ) -> &Option<InstanceMetadataOptionsResponse>
The metadata options for the instance.
sourcepub fn build(self) -> ModifyInstanceMetadataOptionsOutput
pub fn build(self) -> ModifyInstanceMetadataOptionsOutput
Consumes the builder and constructs a ModifyInstanceMetadataOptionsOutput
.
Trait Implementations§
source§impl Clone for ModifyInstanceMetadataOptionsOutputBuilder
impl Clone for ModifyInstanceMetadataOptionsOutputBuilder
source§fn clone(&self) -> ModifyInstanceMetadataOptionsOutputBuilder
fn clone(&self) -> ModifyInstanceMetadataOptionsOutputBuilder
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 Default for ModifyInstanceMetadataOptionsOutputBuilder
impl Default for ModifyInstanceMetadataOptionsOutputBuilder
source§fn default() -> ModifyInstanceMetadataOptionsOutputBuilder
fn default() -> ModifyInstanceMetadataOptionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ModifyInstanceMetadataOptionsOutputBuilder> for ModifyInstanceMetadataOptionsOutputBuilder
impl PartialEq<ModifyInstanceMetadataOptionsOutputBuilder> for ModifyInstanceMetadataOptionsOutputBuilder
source§fn eq(&self, other: &ModifyInstanceMetadataOptionsOutputBuilder) -> bool
fn eq(&self, other: &ModifyInstanceMetadataOptionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyInstanceMetadataOptionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ModifyInstanceMetadataOptionsOutputBuilder
impl Send for ModifyInstanceMetadataOptionsOutputBuilder
impl Sync for ModifyInstanceMetadataOptionsOutputBuilder
impl Unpin for ModifyInstanceMetadataOptionsOutputBuilder
impl UnwindSafe for ModifyInstanceMetadataOptionsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more