#[non_exhaustive]pub struct AssetShallowBuilder { /* private fields */ }
Expand description
A builder for AssetShallow
.
Implementations§
source§impl AssetShallowBuilder
impl AssetShallowBuilder
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
The time the Asset was initially submitted for Ingest.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
The time the Asset was initially submitted for Ingest.
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
The time the Asset was initially submitted for Ingest.
sourcepub fn packaging_group_id(self, input: impl Into<String>) -> Self
pub fn packaging_group_id(self, input: impl Into<String>) -> Self
The ID of the PackagingGroup for the Asset.
sourcepub fn set_packaging_group_id(self, input: Option<String>) -> Self
pub fn set_packaging_group_id(self, input: Option<String>) -> Self
The ID of the PackagingGroup for the Asset.
sourcepub fn get_packaging_group_id(&self) -> &Option<String>
pub fn get_packaging_group_id(&self) -> &Option<String>
The ID of the PackagingGroup for the Asset.
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
The resource ID to include in SPEKE key requests.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
The resource ID to include in SPEKE key requests.
sourcepub fn get_resource_id(&self) -> &Option<String>
pub fn get_resource_id(&self) -> &Option<String>
The resource ID to include in SPEKE key requests.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
ARN of the source object in S3.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
ARN of the source object in S3.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
ARN of the source object in S3.
sourcepub fn source_role_arn(self, input: impl Into<String>) -> Self
pub fn source_role_arn(self, input: impl Into<String>) -> Self
The IAM role ARN used to access the source S3 bucket.
sourcepub fn set_source_role_arn(self, input: Option<String>) -> Self
pub fn set_source_role_arn(self, input: Option<String>) -> Self
The IAM role ARN used to access the source S3 bucket.
sourcepub fn get_source_role_arn(&self) -> &Option<String>
pub fn get_source_role_arn(&self) -> &Option<String>
The IAM role ARN used to access the source S3 bucket.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A collection of tags associated with a resource
A collection of tags associated with a resource
A collection of tags associated with a resource
sourcepub fn build(self) -> AssetShallow
pub fn build(self) -> AssetShallow
Consumes the builder and constructs a AssetShallow
.
Trait Implementations§
source§impl Clone for AssetShallowBuilder
impl Clone for AssetShallowBuilder
source§fn clone(&self) -> AssetShallowBuilder
fn clone(&self) -> AssetShallowBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssetShallowBuilder
impl Debug for AssetShallowBuilder
source§impl Default for AssetShallowBuilder
impl Default for AssetShallowBuilder
source§fn default() -> AssetShallowBuilder
fn default() -> AssetShallowBuilder
source§impl PartialEq for AssetShallowBuilder
impl PartialEq for AssetShallowBuilder
source§fn eq(&self, other: &AssetShallowBuilder) -> bool
fn eq(&self, other: &AssetShallowBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetShallowBuilder
Auto Trait Implementations§
impl Freeze for AssetShallowBuilder
impl RefUnwindSafe for AssetShallowBuilder
impl Send for AssetShallowBuilder
impl Sync for AssetShallowBuilder
impl Unpin for AssetShallowBuilder
impl UnwindSafe for AssetShallowBuilder
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