Struct aws_sdk_devicefarm::operation::update_instance_profile::builders::UpdateInstanceProfileInputBuilder
source · #[non_exhaustive]pub struct UpdateInstanceProfileInputBuilder { /* private fields */ }Expand description
A builder for UpdateInstanceProfileInput.
Implementations§
source§impl UpdateInstanceProfileInputBuilder
impl UpdateInstanceProfileInputBuilder
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.
This field is required.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 exclude_app_packages_from_cleanup.
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.
sourcepub fn build(self) -> Result<UpdateInstanceProfileInput, BuildError>
pub fn build(self) -> Result<UpdateInstanceProfileInput, BuildError>
Consumes the builder and constructs a UpdateInstanceProfileInput.
source§impl UpdateInstanceProfileInputBuilder
impl UpdateInstanceProfileInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateInstanceProfileOutput, SdkError<UpdateInstanceProfileError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateInstanceProfileOutput, SdkError<UpdateInstanceProfileError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateInstanceProfileInputBuilder
impl Clone for UpdateInstanceProfileInputBuilder
source§fn clone(&self) -> UpdateInstanceProfileInputBuilder
fn clone(&self) -> UpdateInstanceProfileInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateInstanceProfileInputBuilder
impl Default for UpdateInstanceProfileInputBuilder
source§fn default() -> UpdateInstanceProfileInputBuilder
fn default() -> UpdateInstanceProfileInputBuilder
source§impl PartialEq for UpdateInstanceProfileInputBuilder
impl PartialEq for UpdateInstanceProfileInputBuilder
source§fn eq(&self, other: &UpdateInstanceProfileInputBuilder) -> bool
fn eq(&self, other: &UpdateInstanceProfileInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateInstanceProfileInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateInstanceProfileInputBuilder
impl RefUnwindSafe for UpdateInstanceProfileInputBuilder
impl Send for UpdateInstanceProfileInputBuilder
impl Sync for UpdateInstanceProfileInputBuilder
impl Unpin for UpdateInstanceProfileInputBuilder
impl UnwindSafe for UpdateInstanceProfileInputBuilder
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