Struct aws_sdk_ec2::operation::describe_conversion_tasks::builders::DescribeConversionTasksFluentBuilder
source · pub struct DescribeConversionTasksFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeConversionTasks
.
Describes the specified conversion tasks or all your conversion tasks. For more information, see the VM Import/Export User Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
Implementations§
source§impl DescribeConversionTasksFluentBuilder
impl DescribeConversionTasksFluentBuilder
sourcepub fn as_input(&self) -> &DescribeConversionTasksInputBuilder
pub fn as_input(&self) -> &DescribeConversionTasksInputBuilder
Access the DescribeConversionTasks as a reference.
sourcepub async fn send(
self
) -> Result<DescribeConversionTasksOutput, SdkError<DescribeConversionTasksError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeConversionTasksOutput, SdkError<DescribeConversionTasksError, 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 async fn customize(
self
) -> Result<CustomizableOperation<DescribeConversionTasksOutput, DescribeConversionTasksError>, SdkError<DescribeConversionTasksError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeConversionTasksOutput, DescribeConversionTasksError>, SdkError<DescribeConversionTasksError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn conversion_task_ids(self, input: impl Into<String>) -> Self
pub fn conversion_task_ids(self, input: impl Into<String>) -> Self
Appends an item to ConversionTaskIds
.
To override the contents of this collection use set_conversion_task_ids
.
The conversion task IDs.
sourcepub fn set_conversion_task_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_conversion_task_ids(self, input: Option<Vec<String>>) -> Self
The conversion task IDs.
sourcepub fn get_conversion_task_ids(&self) -> &Option<Vec<String>>
pub fn get_conversion_task_ids(&self) -> &Option<Vec<String>>
The conversion task IDs.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Trait Implementations§
source§impl Clone for DescribeConversionTasksFluentBuilder
impl Clone for DescribeConversionTasksFluentBuilder
source§fn clone(&self) -> DescribeConversionTasksFluentBuilder
fn clone(&self) -> DescribeConversionTasksFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more