Struct aws_sdk_sagemaker::operation::create_edge_deployment_plan::builders::CreateEdgeDeploymentPlanInputBuilder
source · #[non_exhaustive]pub struct CreateEdgeDeploymentPlanInputBuilder { /* private fields */ }
Expand description
A builder for CreateEdgeDeploymentPlanInput
.
Implementations§
source§impl CreateEdgeDeploymentPlanInputBuilder
impl CreateEdgeDeploymentPlanInputBuilder
sourcepub fn edge_deployment_plan_name(self, input: impl Into<String>) -> Self
pub fn edge_deployment_plan_name(self, input: impl Into<String>) -> Self
The name of the edge deployment plan.
This field is required.sourcepub fn set_edge_deployment_plan_name(self, input: Option<String>) -> Self
pub fn set_edge_deployment_plan_name(self, input: Option<String>) -> Self
The name of the edge deployment plan.
sourcepub fn get_edge_deployment_plan_name(&self) -> &Option<String>
pub fn get_edge_deployment_plan_name(&self) -> &Option<String>
The name of the edge deployment plan.
sourcepub fn model_configs(self, input: EdgeDeploymentModelConfig) -> Self
pub fn model_configs(self, input: EdgeDeploymentModelConfig) -> Self
Appends an item to model_configs
.
To override the contents of this collection use set_model_configs
.
List of models associated with the edge deployment plan.
sourcepub fn set_model_configs(
self,
input: Option<Vec<EdgeDeploymentModelConfig>>,
) -> Self
pub fn set_model_configs( self, input: Option<Vec<EdgeDeploymentModelConfig>>, ) -> Self
List of models associated with the edge deployment plan.
sourcepub fn get_model_configs(&self) -> &Option<Vec<EdgeDeploymentModelConfig>>
pub fn get_model_configs(&self) -> &Option<Vec<EdgeDeploymentModelConfig>>
List of models associated with the edge deployment plan.
sourcepub fn device_fleet_name(self, input: impl Into<String>) -> Self
pub fn device_fleet_name(self, input: impl Into<String>) -> Self
The device fleet used for this edge deployment plan.
This field is required.sourcepub fn set_device_fleet_name(self, input: Option<String>) -> Self
pub fn set_device_fleet_name(self, input: Option<String>) -> Self
The device fleet used for this edge deployment plan.
sourcepub fn get_device_fleet_name(&self) -> &Option<String>
pub fn get_device_fleet_name(&self) -> &Option<String>
The device fleet used for this edge deployment plan.
sourcepub fn stages(self, input: DeploymentStage) -> Self
pub fn stages(self, input: DeploymentStage) -> Self
Appends an item to stages
.
To override the contents of this collection use set_stages
.
List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment.
sourcepub fn set_stages(self, input: Option<Vec<DeploymentStage>>) -> Self
pub fn set_stages(self, input: Option<Vec<DeploymentStage>>) -> Self
List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment.
sourcepub fn get_stages(&self) -> &Option<Vec<DeploymentStage>>
pub fn get_stages(&self) -> &Option<Vec<DeploymentStage>>
List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
List of tags with which to tag the edge deployment plan.
List of tags with which to tag the edge deployment plan.
List of tags with which to tag the edge deployment plan.
sourcepub fn build(self) -> Result<CreateEdgeDeploymentPlanInput, BuildError>
pub fn build(self) -> Result<CreateEdgeDeploymentPlanInput, BuildError>
Consumes the builder and constructs a CreateEdgeDeploymentPlanInput
.
source§impl CreateEdgeDeploymentPlanInputBuilder
impl CreateEdgeDeploymentPlanInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateEdgeDeploymentPlanOutput, SdkError<CreateEdgeDeploymentPlanError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateEdgeDeploymentPlanOutput, SdkError<CreateEdgeDeploymentPlanError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEdgeDeploymentPlanInputBuilder
impl Clone for CreateEdgeDeploymentPlanInputBuilder
source§fn clone(&self) -> CreateEdgeDeploymentPlanInputBuilder
fn clone(&self) -> CreateEdgeDeploymentPlanInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateEdgeDeploymentPlanInputBuilder
impl Default for CreateEdgeDeploymentPlanInputBuilder
source§fn default() -> CreateEdgeDeploymentPlanInputBuilder
fn default() -> CreateEdgeDeploymentPlanInputBuilder
source§impl PartialEq for CreateEdgeDeploymentPlanInputBuilder
impl PartialEq for CreateEdgeDeploymentPlanInputBuilder
source§fn eq(&self, other: &CreateEdgeDeploymentPlanInputBuilder) -> bool
fn eq(&self, other: &CreateEdgeDeploymentPlanInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEdgeDeploymentPlanInputBuilder
Auto Trait Implementations§
impl Freeze for CreateEdgeDeploymentPlanInputBuilder
impl RefUnwindSafe for CreateEdgeDeploymentPlanInputBuilder
impl Send for CreateEdgeDeploymentPlanInputBuilder
impl Sync for CreateEdgeDeploymentPlanInputBuilder
impl Unpin for CreateEdgeDeploymentPlanInputBuilder
impl UnwindSafe for CreateEdgeDeploymentPlanInputBuilder
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