#[non_exhaustive]pub struct InstanceMetadataServiceConfigurationBuilder { /* private fields */ }
Expand description
A builder for InstanceMetadataServiceConfiguration
.
Implementations§
source§impl InstanceMetadataServiceConfigurationBuilder
impl InstanceMetadataServiceConfigurationBuilder
sourcepub fn minimum_instance_metadata_service_version(
self,
input: impl Into<String>
) -> Self
pub fn minimum_instance_metadata_service_version( self, input: impl Into<String> ) -> Self
Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance
, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance
, there is no default.
sourcepub fn set_minimum_instance_metadata_service_version(
self,
input: Option<String>
) -> Self
pub fn set_minimum_instance_metadata_service_version( self, input: Option<String> ) -> Self
Indicates the minimum IMDS version that the notebook instance supports. When passed as part of CreateNotebookInstance
, if no value is selected, then it defaults to IMDSv1. This means that both IMDSv1 and IMDSv2 are supported. If passed as part of UpdateNotebookInstance
, there is no default.
sourcepub fn build(self) -> InstanceMetadataServiceConfiguration
pub fn build(self) -> InstanceMetadataServiceConfiguration
Consumes the builder and constructs a InstanceMetadataServiceConfiguration
.
Trait Implementations§
source§impl Clone for InstanceMetadataServiceConfigurationBuilder
impl Clone for InstanceMetadataServiceConfigurationBuilder
source§fn clone(&self) -> InstanceMetadataServiceConfigurationBuilder
fn clone(&self) -> InstanceMetadataServiceConfigurationBuilder
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 InstanceMetadataServiceConfigurationBuilder
impl Default for InstanceMetadataServiceConfigurationBuilder
source§fn default() -> InstanceMetadataServiceConfigurationBuilder
fn default() -> InstanceMetadataServiceConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<InstanceMetadataServiceConfigurationBuilder> for InstanceMetadataServiceConfigurationBuilder
impl PartialEq<InstanceMetadataServiceConfigurationBuilder> for InstanceMetadataServiceConfigurationBuilder
source§fn eq(&self, other: &InstanceMetadataServiceConfigurationBuilder) -> bool
fn eq(&self, other: &InstanceMetadataServiceConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InstanceMetadataServiceConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for InstanceMetadataServiceConfigurationBuilder
impl Send for InstanceMetadataServiceConfigurationBuilder
impl Sync for InstanceMetadataServiceConfigurationBuilder
impl Unpin for InstanceMetadataServiceConfigurationBuilder
impl UnwindSafe for InstanceMetadataServiceConfigurationBuilder
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