Struct aws_sdk_greengrassv2::types::builders::DeploymentBuilder
source · #[non_exhaustive]pub struct DeploymentBuilder { /* private fields */ }
Expand description
A builder for Deployment
.
Implementations§
source§impl DeploymentBuilder
impl DeploymentBuilder
sourcepub fn target_arn(self, input: impl Into<String>) -> Self
pub fn target_arn(self, input: impl Into<String>) -> Self
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
sourcepub fn set_target_arn(self, input: Option<String>) -> Self
pub fn set_target_arn(self, input: Option<String>) -> Self
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
sourcepub fn get_target_arn(&self) -> &Option<String>
pub fn get_target_arn(&self) -> &Option<String>
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The revision number of the deployment.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The revision number of the deployment.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The revision number of the deployment.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The ID of the deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The ID of the deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The ID of the deployment.
sourcepub fn deployment_name(self, input: impl Into<String>) -> Self
pub fn deployment_name(self, input: impl Into<String>) -> Self
The name of the deployment.
sourcepub fn set_deployment_name(self, input: Option<String>) -> Self
pub fn set_deployment_name(self, input: Option<String>) -> Self
The name of the deployment.
sourcepub fn get_deployment_name(&self) -> &Option<String>
pub fn get_deployment_name(&self) -> &Option<String>
The name of the deployment.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The time at which the deployment was created, expressed in ISO 8601 format.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The time at which the deployment was created, expressed in ISO 8601 format.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The time at which the deployment was created, expressed in ISO 8601 format.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The status of the deployment.
sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The status of the deployment.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The status of the deployment.
sourcepub fn is_latest_for_target(self, input: bool) -> Self
pub fn is_latest_for_target(self, input: bool) -> Self
Whether or not the deployment is the latest revision for its target.
sourcepub fn set_is_latest_for_target(self, input: Option<bool>) -> Self
pub fn set_is_latest_for_target(self, input: Option<bool>) -> Self
Whether or not the deployment is the latest revision for its target.
sourcepub fn get_is_latest_for_target(&self) -> &Option<bool>
pub fn get_is_latest_for_target(&self) -> &Option<bool>
Whether or not the deployment is the latest revision for its target.
sourcepub fn parent_target_arn(self, input: impl Into<String>) -> Self
pub fn parent_target_arn(self, input: impl Into<String>) -> Self
The parent deployment's target ARN within a subdeployment.
sourcepub fn set_parent_target_arn(self, input: Option<String>) -> Self
pub fn set_parent_target_arn(self, input: Option<String>) -> Self
The parent deployment's target ARN within a subdeployment.
sourcepub fn get_parent_target_arn(&self) -> &Option<String>
pub fn get_parent_target_arn(&self) -> &Option<String>
The parent deployment's target ARN within a subdeployment.
sourcepub fn build(self) -> Deployment
pub fn build(self) -> Deployment
Consumes the builder and constructs a Deployment
.
Trait Implementations§
source§impl Clone for DeploymentBuilder
impl Clone for DeploymentBuilder
source§fn clone(&self) -> DeploymentBuilder
fn clone(&self) -> DeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentBuilder
impl Debug for DeploymentBuilder
source§impl Default for DeploymentBuilder
impl Default for DeploymentBuilder
source§fn default() -> DeploymentBuilder
fn default() -> DeploymentBuilder
source§impl PartialEq for DeploymentBuilder
impl PartialEq for DeploymentBuilder
source§fn eq(&self, other: &DeploymentBuilder) -> bool
fn eq(&self, other: &DeploymentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentBuilder
Auto Trait Implementations§
impl Freeze for DeploymentBuilder
impl RefUnwindSafe for DeploymentBuilder
impl Send for DeploymentBuilder
impl Sync for DeploymentBuilder
impl Unpin for DeploymentBuilder
impl UnwindSafe for DeploymentBuilder
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> 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