#[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 ==
.impl StructuralPartialEq for PendingDeploymentSummaryBuilder
Auto Trait Implementations§
impl Freeze for PendingDeploymentSummaryBuilder
impl RefUnwindSafe for PendingDeploymentSummaryBuilder
impl Send for PendingDeploymentSummaryBuilder
impl Sync for PendingDeploymentSummaryBuilder
impl Unpin for PendingDeploymentSummaryBuilder
impl UnwindSafe for PendingDeploymentSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more