#[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 ==
.