#[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 get_minimum_instance_metadata_service_version(&self) -> &Option<String>
pub fn get_minimum_instance_metadata_service_version(&self) -> &Option<String>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InstanceMetadataServiceConfigurationBuilder
impl Default for InstanceMetadataServiceConfigurationBuilder
source§fn default() -> InstanceMetadataServiceConfigurationBuilder
fn default() -> InstanceMetadataServiceConfigurationBuilder
source§impl PartialEq for InstanceMetadataServiceConfigurationBuilder
impl PartialEq for InstanceMetadataServiceConfigurationBuilder
source§fn eq(&self, other: &InstanceMetadataServiceConfigurationBuilder) -> bool
fn eq(&self, other: &InstanceMetadataServiceConfigurationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InstanceMetadataServiceConfigurationBuilder
Auto Trait Implementations§
impl Freeze for InstanceMetadataServiceConfigurationBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more