Struct aws_sdk_migrationhub::operation::associate_discovered_resource::builders::AssociateDiscoveredResourceInputBuilder
source · #[non_exhaustive]pub struct AssociateDiscoveredResourceInputBuilder { /* private fields */ }Expand description
A builder for AssociateDiscoveredResourceInput.
Implementations§
source§impl AssociateDiscoveredResourceInputBuilder
impl AssociateDiscoveredResourceInputBuilder
sourcepub fn progress_update_stream(self, input: impl Into<String>) -> Self
pub fn progress_update_stream(self, input: impl Into<String>) -> Self
The name of the ProgressUpdateStream.
This field is required.sourcepub fn set_progress_update_stream(self, input: Option<String>) -> Self
pub fn set_progress_update_stream(self, input: Option<String>) -> Self
The name of the ProgressUpdateStream.
sourcepub fn get_progress_update_stream(&self) -> &Option<String>
pub fn get_progress_update_stream(&self) -> &Option<String>
The name of the ProgressUpdateStream.
sourcepub fn migration_task_name(self, input: impl Into<String>) -> Self
pub fn migration_task_name(self, input: impl Into<String>) -> Self
The identifier given to the MigrationTask. Do not store personal data in this field.
This field is required.sourcepub fn set_migration_task_name(self, input: Option<String>) -> Self
pub fn set_migration_task_name(self, input: Option<String>) -> Self
The identifier given to the MigrationTask. Do not store personal data in this field.
sourcepub fn get_migration_task_name(&self) -> &Option<String>
pub fn get_migration_task_name(&self) -> &Option<String>
The identifier given to the MigrationTask. Do not store personal data in this field.
sourcepub fn discovered_resource(self, input: DiscoveredResource) -> Self
pub fn discovered_resource(self, input: DiscoveredResource) -> Self
Object representing a Resource.
This field is required.sourcepub fn set_discovered_resource(self, input: Option<DiscoveredResource>) -> Self
pub fn set_discovered_resource(self, input: Option<DiscoveredResource>) -> Self
Object representing a Resource.
sourcepub fn get_discovered_resource(&self) -> &Option<DiscoveredResource>
pub fn get_discovered_resource(&self) -> &Option<DiscoveredResource>
Object representing a Resource.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
sourcepub fn build(self) -> Result<AssociateDiscoveredResourceInput, BuildError>
pub fn build(self) -> Result<AssociateDiscoveredResourceInput, BuildError>
Consumes the builder and constructs a AssociateDiscoveredResourceInput.
source§impl AssociateDiscoveredResourceInputBuilder
impl AssociateDiscoveredResourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateDiscoveredResourceInputBuilder
impl Clone for AssociateDiscoveredResourceInputBuilder
source§fn clone(&self) -> AssociateDiscoveredResourceInputBuilder
fn clone(&self) -> AssociateDiscoveredResourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssociateDiscoveredResourceInputBuilder
impl Default for AssociateDiscoveredResourceInputBuilder
source§fn default() -> AssociateDiscoveredResourceInputBuilder
fn default() -> AssociateDiscoveredResourceInputBuilder
source§impl PartialEq for AssociateDiscoveredResourceInputBuilder
impl PartialEq for AssociateDiscoveredResourceInputBuilder
source§fn eq(&self, other: &AssociateDiscoveredResourceInputBuilder) -> bool
fn eq(&self, other: &AssociateDiscoveredResourceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.