Struct aws_sdk_migrationhub::operation::associate_discovered_resource::builders::AssociateDiscoveredResourceFluentBuilder
source · pub struct AssociateDiscoveredResourceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AssociateDiscoveredResource.
Associates a discovered resource ID from Application Discovery Service with a migration task.
Implementations§
source§impl AssociateDiscoveredResourceFluentBuilder
impl AssociateDiscoveredResourceFluentBuilder
sourcepub fn as_input(&self) -> &AssociateDiscoveredResourceInputBuilder
pub fn as_input(&self) -> &AssociateDiscoveredResourceInputBuilder
Access the AssociateDiscoveredResource as a reference.
sourcepub async fn send(
self
) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError, HttpResponse>>
pub async fn send( self ) -> Result<AssociateDiscoveredResourceOutput, SdkError<AssociateDiscoveredResourceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AssociateDiscoveredResourceOutput, AssociateDiscoveredResourceError, Self>
pub fn customize( self ) -> CustomizableOperation<AssociateDiscoveredResourceOutput, AssociateDiscoveredResourceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for AssociateDiscoveredResourceFluentBuilder
impl Clone for AssociateDiscoveredResourceFluentBuilder
source§fn clone(&self) -> AssociateDiscoveredResourceFluentBuilder
fn clone(&self) -> AssociateDiscoveredResourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more