Struct aws_sdk_datasync::operation::update_discovery_job::builders::UpdateDiscoveryJobInputBuilder
source · #[non_exhaustive]pub struct UpdateDiscoveryJobInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDiscoveryJobInput
.
Implementations§
source§impl UpdateDiscoveryJobInputBuilder
impl UpdateDiscoveryJobInputBuilder
sourcepub fn discovery_job_arn(self, input: impl Into<String>) -> Self
pub fn discovery_job_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the discovery job that you want to update.
sourcepub fn set_discovery_job_arn(self, input: Option<String>) -> Self
pub fn set_discovery_job_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the discovery job that you want to update.
sourcepub fn collection_duration_minutes(self, input: i32) -> Self
pub fn collection_duration_minutes(self, input: i32) -> Self
Specifies in minutes how long that you want the discovery job to run. (You can't set this parameter to less than the number of minutes that the job has already run for.)
sourcepub fn set_collection_duration_minutes(self, input: Option<i32>) -> Self
pub fn set_collection_duration_minutes(self, input: Option<i32>) -> Self
Specifies in minutes how long that you want the discovery job to run. (You can't set this parameter to less than the number of minutes that the job has already run for.)
sourcepub fn build(self) -> Result<UpdateDiscoveryJobInput, BuildError>
pub fn build(self) -> Result<UpdateDiscoveryJobInput, BuildError>
Consumes the builder and constructs a UpdateDiscoveryJobInput
.
Trait Implementations§
source§impl Clone for UpdateDiscoveryJobInputBuilder
impl Clone for UpdateDiscoveryJobInputBuilder
source§fn clone(&self) -> UpdateDiscoveryJobInputBuilder
fn clone(&self) -> UpdateDiscoveryJobInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateDiscoveryJobInputBuilder
impl Default for UpdateDiscoveryJobInputBuilder
source§fn default() -> UpdateDiscoveryJobInputBuilder
fn default() -> UpdateDiscoveryJobInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<UpdateDiscoveryJobInputBuilder> for UpdateDiscoveryJobInputBuilder
impl PartialEq<UpdateDiscoveryJobInputBuilder> for UpdateDiscoveryJobInputBuilder
source§fn eq(&self, other: &UpdateDiscoveryJobInputBuilder) -> bool
fn eq(&self, other: &UpdateDiscoveryJobInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDiscoveryJobInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDiscoveryJobInputBuilder
impl Send for UpdateDiscoveryJobInputBuilder
impl Sync for UpdateDiscoveryJobInputBuilder
impl Unpin for UpdateDiscoveryJobInputBuilder
impl UnwindSafe for UpdateDiscoveryJobInputBuilder
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
Mutably borrows from an owned value. Read more