Struct aws_sdk_sagemaker::operation::describe_context::builders::DescribeContextOutputBuilder
source · #[non_exhaustive]pub struct DescribeContextOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeContextOutput
.
Implementations§
source§impl DescribeContextOutputBuilder
impl DescribeContextOutputBuilder
sourcepub fn context_name(self, input: impl Into<String>) -> Self
pub fn context_name(self, input: impl Into<String>) -> Self
The name of the context.
sourcepub fn set_context_name(self, input: Option<String>) -> Self
pub fn set_context_name(self, input: Option<String>) -> Self
The name of the context.
sourcepub fn get_context_name(&self) -> &Option<String>
pub fn get_context_name(&self) -> &Option<String>
The name of the context.
sourcepub fn context_arn(self, input: impl Into<String>) -> Self
pub fn context_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the context.
sourcepub fn set_context_arn(self, input: Option<String>) -> Self
pub fn set_context_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the context.
sourcepub fn get_context_arn(&self) -> &Option<String>
pub fn get_context_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the context.
sourcepub fn source(self, input: ContextSource) -> Self
pub fn source(self, input: ContextSource) -> Self
The source of the context.
sourcepub fn set_source(self, input: Option<ContextSource>) -> Self
pub fn set_source(self, input: Option<ContextSource>) -> Self
The source of the context.
sourcepub fn get_source(&self) -> &Option<ContextSource>
pub fn get_source(&self) -> &Option<ContextSource>
The source of the context.
sourcepub fn context_type(self, input: impl Into<String>) -> Self
pub fn context_type(self, input: impl Into<String>) -> Self
The type of the context.
sourcepub fn set_context_type(self, input: Option<String>) -> Self
pub fn set_context_type(self, input: Option<String>) -> Self
The type of the context.
sourcepub fn get_context_type(&self) -> &Option<String>
pub fn get_context_type(&self) -> &Option<String>
The type of the context.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the context.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the context.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the context.
sourcepub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn properties(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to properties
.
To override the contents of this collection use set_properties
.
A list of the context's properties.
sourcepub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_properties(self, input: Option<HashMap<String, String>>) -> Self
A list of the context's properties.
sourcepub fn get_properties(&self) -> &Option<HashMap<String, String>>
pub fn get_properties(&self) -> &Option<HashMap<String, String>>
A list of the context's properties.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
When the context was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
When the context was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
When the context was created.
sourcepub fn created_by(self, input: UserContext) -> Self
pub fn created_by(self, input: UserContext) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn set_created_by(self, input: Option<UserContext>) -> Self
pub fn set_created_by(self, input: Option<UserContext>) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn get_created_by(&self) -> &Option<UserContext>
pub fn get_created_by(&self) -> &Option<UserContext>
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
When the context was last modified.
sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
When the context was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
When the context was last modified.
sourcepub fn last_modified_by(self, input: UserContext) -> Self
pub fn last_modified_by(self, input: UserContext) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn set_last_modified_by(self, input: Option<UserContext>) -> Self
pub fn set_last_modified_by(self, input: Option<UserContext>) -> Self
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn get_last_modified_by(&self) -> &Option<UserContext>
pub fn get_last_modified_by(&self) -> &Option<UserContext>
Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.
sourcepub fn lineage_group_arn(self, input: impl Into<String>) -> Self
pub fn lineage_group_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the lineage group.
sourcepub fn set_lineage_group_arn(self, input: Option<String>) -> Self
pub fn set_lineage_group_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the lineage group.
sourcepub fn get_lineage_group_arn(&self) -> &Option<String>
pub fn get_lineage_group_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the lineage group.
sourcepub fn build(self) -> DescribeContextOutput
pub fn build(self) -> DescribeContextOutput
Consumes the builder and constructs a DescribeContextOutput
.
Trait Implementations§
source§impl Clone for DescribeContextOutputBuilder
impl Clone for DescribeContextOutputBuilder
source§fn clone(&self) -> DescribeContextOutputBuilder
fn clone(&self) -> DescribeContextOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeContextOutputBuilder
impl Debug for DescribeContextOutputBuilder
source§impl Default for DescribeContextOutputBuilder
impl Default for DescribeContextOutputBuilder
source§fn default() -> DescribeContextOutputBuilder
fn default() -> DescribeContextOutputBuilder
source§impl PartialEq for DescribeContextOutputBuilder
impl PartialEq for DescribeContextOutputBuilder
source§fn eq(&self, other: &DescribeContextOutputBuilder) -> bool
fn eq(&self, other: &DescribeContextOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.