#[non_exhaustive]pub struct AssetBundleImportSourceDescriptionBuilder { /* private fields */ }
Expand description
A builder for AssetBundleImportSourceDescription
.
Implementations§
source§impl AssetBundleImportSourceDescriptionBuilder
impl AssetBundleImportSourceDescriptionBuilder
sourcepub fn body(self, input: impl Into<String>) -> Self
pub fn body(self, input: impl Into<String>) -> Self
An HTTPS download URL for the provided asset bundle that you optionally provided at the start of the import job. This URL is valid for five minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed. The downloaded asset bundle is a .qs
zip file.
sourcepub fn set_body(self, input: Option<String>) -> Self
pub fn set_body(self, input: Option<String>) -> Self
An HTTPS download URL for the provided asset bundle that you optionally provided at the start of the import job. This URL is valid for five minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed. The downloaded asset bundle is a .qs
zip file.
sourcepub fn get_body(&self) -> &Option<String>
pub fn get_body(&self) -> &Option<String>
An HTTPS download URL for the provided asset bundle that you optionally provided at the start of the import job. This URL is valid for five minutes after issuance. Call DescribeAssetBundleExportJob
again for a fresh URL if needed. The downloaded asset bundle is a .qs
zip file.
sourcepub fn s3_uri(self, input: impl Into<String>) -> Self
pub fn s3_uri(self, input: impl Into<String>) -> Self
The Amazon S3 URI that you provided at the start of the import job.
sourcepub fn set_s3_uri(self, input: Option<String>) -> Self
pub fn set_s3_uri(self, input: Option<String>) -> Self
The Amazon S3 URI that you provided at the start of the import job.
sourcepub fn get_s3_uri(&self) -> &Option<String>
pub fn get_s3_uri(&self) -> &Option<String>
The Amazon S3 URI that you provided at the start of the import job.
sourcepub fn build(self) -> AssetBundleImportSourceDescription
pub fn build(self) -> AssetBundleImportSourceDescription
Consumes the builder and constructs a AssetBundleImportSourceDescription
.
Trait Implementations§
source§impl Clone for AssetBundleImportSourceDescriptionBuilder
impl Clone for AssetBundleImportSourceDescriptionBuilder
source§fn clone(&self) -> AssetBundleImportSourceDescriptionBuilder
fn clone(&self) -> AssetBundleImportSourceDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssetBundleImportSourceDescriptionBuilder
impl Default for AssetBundleImportSourceDescriptionBuilder
source§fn default() -> AssetBundleImportSourceDescriptionBuilder
fn default() -> AssetBundleImportSourceDescriptionBuilder
source§impl PartialEq for AssetBundleImportSourceDescriptionBuilder
impl PartialEq for AssetBundleImportSourceDescriptionBuilder
source§fn eq(&self, other: &AssetBundleImportSourceDescriptionBuilder) -> bool
fn eq(&self, other: &AssetBundleImportSourceDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetBundleImportSourceDescriptionBuilder
Auto Trait Implementations§
impl Freeze for AssetBundleImportSourceDescriptionBuilder
impl RefUnwindSafe for AssetBundleImportSourceDescriptionBuilder
impl Send for AssetBundleImportSourceDescriptionBuilder
impl Sync for AssetBundleImportSourceDescriptionBuilder
impl Unpin for AssetBundleImportSourceDescriptionBuilder
impl UnwindSafe for AssetBundleImportSourceDescriptionBuilder
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