#[non_exhaustive]pub struct PendingDeploymentSummaryBuilder { /* private fields */ }
Expand description
A builder for PendingDeploymentSummary
.
Implementations§
source§impl PendingDeploymentSummaryBuilder
impl PendingDeploymentSummaryBuilder
sourcepub fn endpoint_config_name(self, input: impl Into<String>) -> Self
pub fn endpoint_config_name(self, input: impl Into<String>) -> Self
The name of the endpoint configuration used in the deployment.
This field is required.sourcepub fn set_endpoint_config_name(self, input: Option<String>) -> Self
pub fn set_endpoint_config_name(self, input: Option<String>) -> Self
The name of the endpoint configuration used in the deployment.
sourcepub fn get_endpoint_config_name(&self) -> &Option<String>
pub fn get_endpoint_config_name(&self) -> &Option<String>
The name of the endpoint configuration used in the deployment.
sourcepub fn production_variants(self, input: PendingProductionVariantSummary) -> Self
pub fn production_variants(self, input: PendingProductionVariantSummary) -> Self
Appends an item to production_variants
.
To override the contents of this collection use set_production_variants
.
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
sourcepub fn set_production_variants(
self,
input: Option<Vec<PendingProductionVariantSummary>>
) -> Self
pub fn set_production_variants( self, input: Option<Vec<PendingProductionVariantSummary>> ) -> Self
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
sourcepub fn get_production_variants(
&self
) -> &Option<Vec<PendingProductionVariantSummary>>
pub fn get_production_variants( &self ) -> &Option<Vec<PendingProductionVariantSummary>>
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint for the in-progress deployment.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the deployment.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the deployment.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the deployment.
sourcepub fn shadow_production_variants(
self,
input: PendingProductionVariantSummary
) -> Self
pub fn shadow_production_variants( self, input: PendingProductionVariantSummary ) -> Self
Appends an item to shadow_production_variants
.
To override the contents of this collection use set_shadow_production_variants
.
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants
for the in-progress deployment.
sourcepub fn set_shadow_production_variants(
self,
input: Option<Vec<PendingProductionVariantSummary>>
) -> Self
pub fn set_shadow_production_variants( self, input: Option<Vec<PendingProductionVariantSummary>> ) -> Self
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants
for the in-progress deployment.
sourcepub fn get_shadow_production_variants(
&self
) -> &Option<Vec<PendingProductionVariantSummary>>
pub fn get_shadow_production_variants( &self ) -> &Option<Vec<PendingProductionVariantSummary>>
An array of PendingProductionVariantSummary objects, one for each model hosted behind this endpoint in shadow mode with production traffic replicated from the model specified on ProductionVariants
for the in-progress deployment.
sourcepub fn build(self) -> PendingDeploymentSummary
pub fn build(self) -> PendingDeploymentSummary
Consumes the builder and constructs a PendingDeploymentSummary
.
Trait Implementations§
source§impl Clone for PendingDeploymentSummaryBuilder
impl Clone for PendingDeploymentSummaryBuilder
source§fn clone(&self) -> PendingDeploymentSummaryBuilder
fn clone(&self) -> PendingDeploymentSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PendingDeploymentSummaryBuilder
impl Default for PendingDeploymentSummaryBuilder
source§fn default() -> PendingDeploymentSummaryBuilder
fn default() -> PendingDeploymentSummaryBuilder
source§impl PartialEq for PendingDeploymentSummaryBuilder
impl PartialEq for PendingDeploymentSummaryBuilder
source§fn eq(&self, other: &PendingDeploymentSummaryBuilder) -> bool
fn eq(&self, other: &PendingDeploymentSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.