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