Struct aws_sdk_sagemaker::model::context_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ContextSummary
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 build(self) -> ContextSummary
pub fn build(self) -> ContextSummary
Consumes the builder and constructs a ContextSummary
.