#[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<AwsJobPresignedUrlConfigBuilder> for AwsJobPresignedUrlConfigBuilder
impl PartialEq<AwsJobPresignedUrlConfigBuilder> for AwsJobPresignedUrlConfigBuilder
source§fn eq(&self, other: &AwsJobPresignedUrlConfigBuilder) -> bool
fn eq(&self, other: &AwsJobPresignedUrlConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsJobPresignedUrlConfigBuilder
Auto Trait Implementations§
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