#[non_exhaustive]pub struct ImportInstanceInputBuilder { /* private fields */ }
Expand description
A builder for ImportInstanceInput
.
Implementations§
source§impl ImportInstanceInputBuilder
impl ImportInstanceInputBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description for the instance being imported.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description for the instance being imported.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description for the instance being imported.
sourcepub fn disk_images(self, input: DiskImage) -> Self
pub fn disk_images(self, input: DiskImage) -> Self
Appends an item to disk_images
.
To override the contents of this collection use set_disk_images
.
The disk image.
sourcepub fn set_disk_images(self, input: Option<Vec<DiskImage>>) -> Self
pub fn set_disk_images(self, input: Option<Vec<DiskImage>>) -> Self
The disk image.
sourcepub fn get_disk_images(&self) -> &Option<Vec<DiskImage>>
pub fn get_disk_images(&self) -> &Option<Vec<DiskImage>>
The disk image.
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
.
sourcepub fn launch_specification(
self,
input: ImportInstanceLaunchSpecification
) -> Self
pub fn launch_specification( self, input: ImportInstanceLaunchSpecification ) -> Self
The launch specification.
sourcepub fn set_launch_specification(
self,
input: Option<ImportInstanceLaunchSpecification>
) -> Self
pub fn set_launch_specification( self, input: Option<ImportInstanceLaunchSpecification> ) -> Self
The launch specification.
sourcepub fn get_launch_specification(
&self
) -> &Option<ImportInstanceLaunchSpecification>
pub fn get_launch_specification( &self ) -> &Option<ImportInstanceLaunchSpecification>
The launch specification.
sourcepub fn platform(self, input: PlatformValues) -> Self
pub fn platform(self, input: PlatformValues) -> Self
The instance operating system.
sourcepub fn set_platform(self, input: Option<PlatformValues>) -> Self
pub fn set_platform(self, input: Option<PlatformValues>) -> Self
The instance operating system.
sourcepub fn get_platform(&self) -> &Option<PlatformValues>
pub fn get_platform(&self) -> &Option<PlatformValues>
The instance operating system.
sourcepub fn build(self) -> Result<ImportInstanceInput, BuildError>
pub fn build(self) -> Result<ImportInstanceInput, BuildError>
Consumes the builder and constructs a ImportInstanceInput
.
source§impl ImportInstanceInputBuilder
impl ImportInstanceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ImportInstanceOutput, SdkError<ImportInstanceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ImportInstanceOutput, SdkError<ImportInstanceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ImportInstanceInputBuilder
impl Clone for ImportInstanceInputBuilder
source§fn clone(&self) -> ImportInstanceInputBuilder
fn clone(&self) -> ImportInstanceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ImportInstanceInputBuilder
impl Debug for ImportInstanceInputBuilder
source§impl Default for ImportInstanceInputBuilder
impl Default for ImportInstanceInputBuilder
source§fn default() -> ImportInstanceInputBuilder
fn default() -> ImportInstanceInputBuilder
source§impl PartialEq<ImportInstanceInputBuilder> for ImportInstanceInputBuilder
impl PartialEq<ImportInstanceInputBuilder> for ImportInstanceInputBuilder
source§fn eq(&self, other: &ImportInstanceInputBuilder) -> bool
fn eq(&self, other: &ImportInstanceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.