#[non_exhaustive]pub struct DescribeModelOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeModelOutput
.
Implementations§
source§impl DescribeModelOutputBuilder
impl DescribeModelOutputBuilder
sourcepub fn model_name(self, input: impl Into<String>) -> Self
pub fn model_name(self, input: impl Into<String>) -> Self
Name of the SageMaker model.
This field is required.sourcepub fn set_model_name(self, input: Option<String>) -> Self
pub fn set_model_name(self, input: Option<String>) -> Self
Name of the SageMaker model.
sourcepub fn get_model_name(&self) -> &Option<String>
pub fn get_model_name(&self) -> &Option<String>
Name of the SageMaker model.
sourcepub fn primary_container(self, input: ContainerDefinition) -> Self
pub fn primary_container(self, input: ContainerDefinition) -> Self
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
sourcepub fn set_primary_container(self, input: Option<ContainerDefinition>) -> Self
pub fn set_primary_container(self, input: Option<ContainerDefinition>) -> Self
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
sourcepub fn get_primary_container(&self) -> &Option<ContainerDefinition>
pub fn get_primary_container(&self) -> &Option<ContainerDefinition>
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
sourcepub fn containers(self, input: ContainerDefinition) -> Self
pub fn containers(self, input: ContainerDefinition) -> Self
Appends an item to containers
.
To override the contents of this collection use set_containers
.
The containers in the inference pipeline.
sourcepub fn set_containers(self, input: Option<Vec<ContainerDefinition>>) -> Self
pub fn set_containers(self, input: Option<Vec<ContainerDefinition>>) -> Self
The containers in the inference pipeline.
sourcepub fn get_containers(&self) -> &Option<Vec<ContainerDefinition>>
pub fn get_containers(&self) -> &Option<Vec<ContainerDefinition>>
The containers in the inference pipeline.
sourcepub fn inference_execution_config(self, input: InferenceExecutionConfig) -> Self
pub fn inference_execution_config(self, input: InferenceExecutionConfig) -> Self
Specifies details of how containers in a multi-container endpoint are called.
sourcepub fn set_inference_execution_config(
self,
input: Option<InferenceExecutionConfig>
) -> Self
pub fn set_inference_execution_config( self, input: Option<InferenceExecutionConfig> ) -> Self
Specifies details of how containers in a multi-container endpoint are called.
sourcepub fn get_inference_execution_config(
&self
) -> &Option<InferenceExecutionConfig>
pub fn get_inference_execution_config( &self ) -> &Option<InferenceExecutionConfig>
Specifies details of how containers in a multi-container endpoint are called.
sourcepub fn execution_role_arn(self, input: impl Into<String>) -> Self
pub fn execution_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
sourcepub fn set_execution_role_arn(self, input: Option<String>) -> Self
pub fn set_execution_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
sourcepub fn get_execution_role_arn(&self) -> &Option<String>
pub fn get_execution_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
sourcepub fn vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
sourcepub fn get_vpc_config(&self) -> &Option<VpcConfig>
pub fn get_vpc_config(&self) -> &Option<VpcConfig>
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
A timestamp that shows when the model was created.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
A timestamp that shows when the model was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
A timestamp that shows when the model was created.
sourcepub fn model_arn(self, input: impl Into<String>) -> Self
pub fn model_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the model.
This field is required.sourcepub fn set_model_arn(self, input: Option<String>) -> Self
pub fn set_model_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the model.
sourcepub fn get_model_arn(&self) -> &Option<String>
pub fn get_model_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the model.
sourcepub fn enable_network_isolation(self, input: bool) -> Self
pub fn enable_network_isolation(self, input: bool) -> Self
If True
, no inbound or outbound network calls can be made to or from the model container.
sourcepub fn set_enable_network_isolation(self, input: Option<bool>) -> Self
pub fn set_enable_network_isolation(self, input: Option<bool>) -> Self
If True
, no inbound or outbound network calls can be made to or from the model container.
sourcepub fn get_enable_network_isolation(&self) -> &Option<bool>
pub fn get_enable_network_isolation(&self) -> &Option<bool>
If True
, no inbound or outbound network calls can be made to or from the model container.
sourcepub fn deployment_recommendation(self, input: DeploymentRecommendation) -> Self
pub fn deployment_recommendation(self, input: DeploymentRecommendation) -> Self
A set of recommended deployment configurations for the model.
sourcepub fn set_deployment_recommendation(
self,
input: Option<DeploymentRecommendation>
) -> Self
pub fn set_deployment_recommendation( self, input: Option<DeploymentRecommendation> ) -> Self
A set of recommended deployment configurations for the model.
sourcepub fn get_deployment_recommendation(&self) -> &Option<DeploymentRecommendation>
pub fn get_deployment_recommendation(&self) -> &Option<DeploymentRecommendation>
A set of recommended deployment configurations for the model.
sourcepub fn build(self) -> DescribeModelOutput
pub fn build(self) -> DescribeModelOutput
Consumes the builder and constructs a DescribeModelOutput
.
Trait Implementations§
source§impl Clone for DescribeModelOutputBuilder
impl Clone for DescribeModelOutputBuilder
source§fn clone(&self) -> DescribeModelOutputBuilder
fn clone(&self) -> DescribeModelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeModelOutputBuilder
impl Debug for DescribeModelOutputBuilder
source§impl Default for DescribeModelOutputBuilder
impl Default for DescribeModelOutputBuilder
source§fn default() -> DescribeModelOutputBuilder
fn default() -> DescribeModelOutputBuilder
source§impl PartialEq for DescribeModelOutputBuilder
impl PartialEq for DescribeModelOutputBuilder
source§fn eq(&self, other: &DescribeModelOutputBuilder) -> bool
fn eq(&self, other: &DescribeModelOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.