Struct aws_sdk_mobile::types::builders::BundleDetailsBuilder
source · #[non_exhaustive]pub struct BundleDetailsBuilder { /* private fields */ }
Expand description
A builder for BundleDetails
.
Implementations§
source§impl BundleDetailsBuilder
impl BundleDetailsBuilder
sourcepub fn set_bundle_id(self, input: Option<String>) -> Self
pub fn set_bundle_id(self, input: Option<String>) -> Self
Unique bundle identifier.
sourcepub fn get_bundle_id(&self) -> &Option<String>
pub fn get_bundle_id(&self) -> &Option<String>
Unique bundle identifier.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
Version of the download bundle.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
Version of the download bundle.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
Description of the download bundle.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
Description of the download bundle.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
Description of the download bundle.
sourcepub fn set_icon_url(self, input: Option<String>) -> Self
pub fn set_icon_url(self, input: Option<String>) -> Self
Icon for the download bundle.
sourcepub fn get_icon_url(&self) -> &Option<String>
pub fn get_icon_url(&self) -> &Option<String>
Icon for the download bundle.
sourcepub fn available_platforms(self, input: Platform) -> Self
pub fn available_platforms(self, input: Platform) -> Self
Appends an item to available_platforms
.
To override the contents of this collection use set_available_platforms
.
Developer desktop or mobile app or website platforms.
sourcepub fn set_available_platforms(self, input: Option<Vec<Platform>>) -> Self
pub fn set_available_platforms(self, input: Option<Vec<Platform>>) -> Self
Developer desktop or mobile app or website platforms.
sourcepub fn get_available_platforms(&self) -> &Option<Vec<Platform>>
pub fn get_available_platforms(&self) -> &Option<Vec<Platform>>
Developer desktop or mobile app or website platforms.
sourcepub fn build(self) -> BundleDetails
pub fn build(self) -> BundleDetails
Consumes the builder and constructs a BundleDetails
.
Trait Implementations§
source§impl Clone for BundleDetailsBuilder
impl Clone for BundleDetailsBuilder
source§fn clone(&self) -> BundleDetailsBuilder
fn clone(&self) -> BundleDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BundleDetailsBuilder
impl Debug for BundleDetailsBuilder
source§impl Default for BundleDetailsBuilder
impl Default for BundleDetailsBuilder
source§fn default() -> BundleDetailsBuilder
fn default() -> BundleDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BundleDetailsBuilder
impl PartialEq for BundleDetailsBuilder
source§fn eq(&self, other: &BundleDetailsBuilder) -> bool
fn eq(&self, other: &BundleDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BundleDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BundleDetailsBuilder
impl Send for BundleDetailsBuilder
impl Sync for BundleDetailsBuilder
impl Unpin for BundleDetailsBuilder
impl UnwindSafe for BundleDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.