#[non_exhaustive]pub struct AwsJobPresignedUrlConfigBuilder { /* private fields */ }
Expand description
A builder for AwsJobPresignedUrlConfig
.
Implementations§
source§impl AwsJobPresignedUrlConfigBuilder
impl AwsJobPresignedUrlConfigBuilder
sourcepub fn expires_in_sec(self, input: i64) -> Self
pub fn expires_in_sec(self, input: i64) -> Self
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
sourcepub fn set_expires_in_sec(self, input: Option<i64>) -> Self
pub fn set_expires_in_sec(self, input: Option<i64>) -> Self
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
sourcepub fn get_expires_in_sec(&self) -> &Option<i64>
pub fn get_expires_in_sec(&self) -> &Option<i64>
How long (in seconds) pre-signed URLs are valid. Valid values are 60 - 3600, the default value is 1800 seconds. Pre-signed URLs are generated when a request for the job document is received.
sourcepub fn build(self) -> AwsJobPresignedUrlConfig
pub fn build(self) -> AwsJobPresignedUrlConfig
Consumes the builder and constructs a AwsJobPresignedUrlConfig
.
Trait Implementations§
source§impl Clone for AwsJobPresignedUrlConfigBuilder
impl Clone for AwsJobPresignedUrlConfigBuilder
source§fn clone(&self) -> AwsJobPresignedUrlConfigBuilder
fn clone(&self) -> AwsJobPresignedUrlConfigBuilder
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 Default for AwsJobPresignedUrlConfigBuilder
impl Default for AwsJobPresignedUrlConfigBuilder
source§fn default() -> AwsJobPresignedUrlConfigBuilder
fn default() -> AwsJobPresignedUrlConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsJobPresignedUrlConfigBuilder
impl PartialEq for AwsJobPresignedUrlConfigBuilder
source§fn eq(&self, other: &AwsJobPresignedUrlConfigBuilder) -> bool
fn eq(&self, other: &AwsJobPresignedUrlConfigBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsJobPresignedUrlConfigBuilder
Auto Trait Implementations§
impl Freeze for AwsJobPresignedUrlConfigBuilder
impl RefUnwindSafe for AwsJobPresignedUrlConfigBuilder
impl Send for AwsJobPresignedUrlConfigBuilder
impl Sync for AwsJobPresignedUrlConfigBuilder
impl Unpin for AwsJobPresignedUrlConfigBuilder
impl UnwindSafe for AwsJobPresignedUrlConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.