Struct aws_sdk_securityhub::model::aws_s3_object_details::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsS3ObjectDetails
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn last_modified(self, input: impl Into<String>) -> Self
pub fn last_modified(self, input: impl Into<String>) -> Self
Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_last_modified(self, input: Option<String>) -> Self
pub fn set_last_modified(self, input: Option<String>) -> Self
Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The version of the object.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The version of the object.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
A standard MIME type describing the format of the object data.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
A standard MIME type describing the format of the object data.
sourcepub fn server_side_encryption(self, input: impl Into<String>) -> Self
pub fn server_side_encryption(self, input: impl Into<String>) -> Self
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn set_server_side_encryption(self, input: Option<String>) -> Self
pub fn set_server_side_encryption(self, input: Option<String>) -> Self
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn ssekms_key_id(self, input: impl Into<String>) -> Self
pub fn ssekms_key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS symmetric customer managed key that was used for the object.
sourcepub fn set_ssekms_key_id(self, input: Option<String>) -> Self
pub fn set_ssekms_key_id(self, input: Option<String>) -> Self
The identifier of the KMS symmetric customer managed key that was used for the object.
sourcepub fn build(self) -> AwsS3ObjectDetails
pub fn build(self) -> AwsS3ObjectDetails
Consumes the builder and constructs a AwsS3ObjectDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more