#[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 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 ==
.