Struct aws_sdk_connect::types::builders::UploadUrlMetadataBuilder
source · #[non_exhaustive]pub struct UploadUrlMetadataBuilder { /* private fields */ }
Expand description
A builder for UploadUrlMetadata
.
Implementations§
source§impl UploadUrlMetadataBuilder
impl UploadUrlMetadataBuilder
sourcepub fn url(self, input: impl Into<String>) -> Self
pub fn url(self, input: impl Into<String>) -> Self
A pre-signed S3 URL that should be used for uploading the attached file.
sourcepub fn set_url(self, input: Option<String>) -> Self
pub fn set_url(self, input: Option<String>) -> Self
A pre-signed S3 URL that should be used for uploading the attached file.
sourcepub fn get_url(&self) -> &Option<String>
pub fn get_url(&self) -> &Option<String>
A pre-signed S3 URL that should be used for uploading the attached file.
sourcepub fn url_expiry(self, input: impl Into<String>) -> Self
pub fn url_expiry(self, input: impl Into<String>) -> Self
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
sourcepub fn set_url_expiry(self, input: Option<String>) -> Self
pub fn set_url_expiry(self, input: Option<String>) -> Self
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
sourcepub fn get_url_expiry(&self) -> &Option<String>
pub fn get_url_expiry(&self) -> &Option<String>
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example, 2019-11-08T02:41:28.172Z
.
sourcepub fn headers_to_include(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn headers_to_include( self, k: impl Into<String>, v: impl Into<String> ) -> Self
Adds a key-value pair to headers_to_include
.
To override the contents of this collection use set_headers_to_include
.
A map of headers that should be provided when uploading the attached file.
sourcepub fn set_headers_to_include(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_headers_to_include( self, input: Option<HashMap<String, String>> ) -> Self
A map of headers that should be provided when uploading the attached file.
sourcepub fn get_headers_to_include(&self) -> &Option<HashMap<String, String>>
pub fn get_headers_to_include(&self) -> &Option<HashMap<String, String>>
A map of headers that should be provided when uploading the attached file.
sourcepub fn build(self) -> UploadUrlMetadata
pub fn build(self) -> UploadUrlMetadata
Consumes the builder and constructs a UploadUrlMetadata
.
Trait Implementations§
source§impl Clone for UploadUrlMetadataBuilder
impl Clone for UploadUrlMetadataBuilder
source§fn clone(&self) -> UploadUrlMetadataBuilder
fn clone(&self) -> UploadUrlMetadataBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UploadUrlMetadataBuilder
impl Debug for UploadUrlMetadataBuilder
source§impl Default for UploadUrlMetadataBuilder
impl Default for UploadUrlMetadataBuilder
source§fn default() -> UploadUrlMetadataBuilder
fn default() -> UploadUrlMetadataBuilder
source§impl PartialEq for UploadUrlMetadataBuilder
impl PartialEq for UploadUrlMetadataBuilder
source§fn eq(&self, other: &UploadUrlMetadataBuilder) -> bool
fn eq(&self, other: &UploadUrlMetadataBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UploadUrlMetadataBuilder
Auto Trait Implementations§
impl Freeze for UploadUrlMetadataBuilder
impl RefUnwindSafe for UploadUrlMetadataBuilder
impl Send for UploadUrlMetadataBuilder
impl Sync for UploadUrlMetadataBuilder
impl Unpin for UploadUrlMetadataBuilder
impl UnwindSafe for UploadUrlMetadataBuilder
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