Struct aws_sdk_devicefarm::operation::update_instance_profile::builders::UpdateInstanceProfileFluentBuilder
source · pub struct UpdateInstanceProfileFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateInstanceProfile
.
Updates information about an existing private device instance profile.
Implementations§
source§impl UpdateInstanceProfileFluentBuilder
impl UpdateInstanceProfileFluentBuilder
sourcepub fn as_input(&self) -> &UpdateInstanceProfileInputBuilder
pub fn as_input(&self) -> &UpdateInstanceProfileInputBuilder
Access the UpdateInstanceProfile as a reference.
sourcepub async fn send(
self
) -> Result<UpdateInstanceProfileOutput, SdkError<UpdateInstanceProfileError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateInstanceProfileOutput, SdkError<UpdateInstanceProfileError, 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<UpdateInstanceProfileOutput, UpdateInstanceProfileError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateInstanceProfileOutput, UpdateInstanceProfileError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the instance profile.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The updated name for your instance profile.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The updated name for your instance profile.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The updated description for your instance profile.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The updated description for your instance profile.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The updated description for your instance profile.
sourcepub fn package_cleanup(self, input: bool) -> Self
pub fn package_cleanup(self, input: bool) -> Self
The updated choice for whether you want to specify package cleanup. The default value is false
for private devices.
sourcepub fn set_package_cleanup(self, input: Option<bool>) -> Self
pub fn set_package_cleanup(self, input: Option<bool>) -> Self
The updated choice for whether you want to specify package cleanup. The default value is false
for private devices.
sourcepub fn get_package_cleanup(&self) -> &Option<bool>
pub fn get_package_cleanup(&self) -> &Option<bool>
The updated choice for whether you want to specify package cleanup. The default value is false
for private devices.
sourcepub fn exclude_app_packages_from_cleanup(self, input: impl Into<String>) -> Self
pub fn exclude_app_packages_from_cleanup(self, input: impl Into<String>) -> Self
Appends an item to excludeAppPackagesFromCleanup
.
To override the contents of this collection use set_exclude_app_packages_from_cleanup
.
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup
to true
.
sourcepub fn set_exclude_app_packages_from_cleanup(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_exclude_app_packages_from_cleanup( self, input: Option<Vec<String>> ) -> Self
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup
to true
.
sourcepub fn get_exclude_app_packages_from_cleanup(&self) -> &Option<Vec<String>>
pub fn get_exclude_app_packages_from_cleanup(&self) -> &Option<Vec<String>>
An array of strings that specifies the list of app packages that should not be cleaned up from the device after a test run is over.
The list of packages is only considered if you set packageCleanup
to true
.
sourcepub fn reboot_after_use(self, input: bool) -> Self
pub fn reboot_after_use(self, input: bool) -> Self
The updated choice for whether you want to reboot the device after use. The default value is true
.
sourcepub fn set_reboot_after_use(self, input: Option<bool>) -> Self
pub fn set_reboot_after_use(self, input: Option<bool>) -> Self
The updated choice for whether you want to reboot the device after use. The default value is true
.
sourcepub fn get_reboot_after_use(&self) -> &Option<bool>
pub fn get_reboot_after_use(&self) -> &Option<bool>
The updated choice for whether you want to reboot the device after use. The default value is true
.
Trait Implementations§
source§impl Clone for UpdateInstanceProfileFluentBuilder
impl Clone for UpdateInstanceProfileFluentBuilder
source§fn clone(&self) -> UpdateInstanceProfileFluentBuilder
fn clone(&self) -> UpdateInstanceProfileFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateInstanceProfileFluentBuilder
impl !RefUnwindSafe for UpdateInstanceProfileFluentBuilder
impl Send for UpdateInstanceProfileFluentBuilder
impl Sync for UpdateInstanceProfileFluentBuilder
impl Unpin for UpdateInstanceProfileFluentBuilder
impl !UnwindSafe for UpdateInstanceProfileFluentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more