pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceMetadataServiceConfiguration
.
Implementations§
source§impl Builder
impl Builder
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
.