Struct aws_sdk_sms::types::builders::ReplicationRunBuilder
source · #[non_exhaustive]pub struct ReplicationRunBuilder { /* private fields */ }
Expand description
A builder for ReplicationRun
.
Implementations§
source§impl ReplicationRunBuilder
impl ReplicationRunBuilder
sourcepub fn replication_run_id(self, input: impl Into<String>) -> Self
pub fn replication_run_id(self, input: impl Into<String>) -> Self
The ID of the replication run.
sourcepub fn set_replication_run_id(self, input: Option<String>) -> Self
pub fn set_replication_run_id(self, input: Option<String>) -> Self
The ID of the replication run.
sourcepub fn get_replication_run_id(&self) -> &Option<String>
pub fn get_replication_run_id(&self) -> &Option<String>
The ID of the replication run.
sourcepub fn state(self, input: ReplicationRunState) -> Self
pub fn state(self, input: ReplicationRunState) -> Self
The state of the replication run.
sourcepub fn set_state(self, input: Option<ReplicationRunState>) -> Self
pub fn set_state(self, input: Option<ReplicationRunState>) -> Self
The state of the replication run.
sourcepub fn get_state(&self) -> &Option<ReplicationRunState>
pub fn get_state(&self) -> &Option<ReplicationRunState>
The state of the replication run.
sourcepub fn type(self, input: ReplicationRunType) -> Self
pub fn type(self, input: ReplicationRunType) -> Self
The type of replication run.
sourcepub fn set_type(self, input: Option<ReplicationRunType>) -> Self
pub fn set_type(self, input: Option<ReplicationRunType>) -> Self
The type of replication run.
sourcepub fn get_type(&self) -> &Option<ReplicationRunType>
pub fn get_type(&self) -> &Option<ReplicationRunType>
The type of replication run.
sourcepub fn stage_details(self, input: ReplicationRunStageDetails) -> Self
pub fn stage_details(self, input: ReplicationRunStageDetails) -> Self
Details about the current stage of the replication run.
sourcepub fn set_stage_details(
self,
input: Option<ReplicationRunStageDetails>
) -> Self
pub fn set_stage_details( self, input: Option<ReplicationRunStageDetails> ) -> Self
Details about the current stage of the replication run.
sourcepub fn get_stage_details(&self) -> &Option<ReplicationRunStageDetails>
pub fn get_stage_details(&self) -> &Option<ReplicationRunStageDetails>
Details about the current stage of the replication run.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The description of the current status of the replication job.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The description of the current status of the replication job.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The description of the current status of the replication job.
sourcepub fn ami_id(self, input: impl Into<String>) -> Self
pub fn ami_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Machine Image (AMI) from the replication run.
sourcepub fn set_ami_id(self, input: Option<String>) -> Self
pub fn set_ami_id(self, input: Option<String>) -> Self
The ID of the Amazon Machine Image (AMI) from the replication run.
sourcepub fn get_ami_id(&self) -> &Option<String>
pub fn get_ami_id(&self) -> &Option<String>
The ID of the Amazon Machine Image (AMI) from the replication run.
sourcepub fn scheduled_start_time(self, input: DateTime) -> Self
pub fn scheduled_start_time(self, input: DateTime) -> Self
The start time of the next replication run.
sourcepub fn set_scheduled_start_time(self, input: Option<DateTime>) -> Self
pub fn set_scheduled_start_time(self, input: Option<DateTime>) -> Self
The start time of the next replication run.
sourcepub fn get_scheduled_start_time(&self) -> &Option<DateTime>
pub fn get_scheduled_start_time(&self) -> &Option<DateTime>
The start time of the next replication run.
sourcepub fn completed_time(self, input: DateTime) -> Self
pub fn completed_time(self, input: DateTime) -> Self
The completion time of the last replication run.
sourcepub fn set_completed_time(self, input: Option<DateTime>) -> Self
pub fn set_completed_time(self, input: Option<DateTime>) -> Self
The completion time of the last replication run.
sourcepub fn get_completed_time(&self) -> &Option<DateTime>
pub fn get_completed_time(&self) -> &Option<DateTime>
The completion time of the last replication run.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the replication run.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the replication run.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the replication run.
sourcepub fn encrypted(self, input: bool) -> Self
pub fn encrypted(self, input: bool) -> Self
Indicates whether the replication run should produce an encrypted AMI.
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Indicates whether the replication run should produce an encrypted AMI.
sourcepub fn get_encrypted(&self) -> &Option<bool>
pub fn get_encrypted(&self) -> &Option<bool>
Indicates whether the replication run should produce an encrypted AMI.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
-
KMS key ID
-
KMS key alias
-
ARN referring to the KMS key ID
-
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
sourcepub fn build(self) -> ReplicationRun
pub fn build(self) -> ReplicationRun
Consumes the builder and constructs a ReplicationRun
.
Trait Implementations§
source§impl Clone for ReplicationRunBuilder
impl Clone for ReplicationRunBuilder
source§fn clone(&self) -> ReplicationRunBuilder
fn clone(&self) -> ReplicationRunBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationRunBuilder
impl Debug for ReplicationRunBuilder
source§impl Default for ReplicationRunBuilder
impl Default for ReplicationRunBuilder
source§fn default() -> ReplicationRunBuilder
fn default() -> ReplicationRunBuilder
source§impl PartialEq for ReplicationRunBuilder
impl PartialEq for ReplicationRunBuilder
source§fn eq(&self, other: &ReplicationRunBuilder) -> bool
fn eq(&self, other: &ReplicationRunBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicationRunBuilder
Auto Trait Implementations§
impl Freeze for ReplicationRunBuilder
impl RefUnwindSafe for ReplicationRunBuilder
impl Send for ReplicationRunBuilder
impl Sync for ReplicationRunBuilder
impl Unpin for ReplicationRunBuilder
impl UnwindSafe for ReplicationRunBuilder
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