Struct aws_sdk_bedrockagent::types::S3Identifier
source · #[non_exhaustive]pub struct S3Identifier {
pub s3_bucket_name: Option<String>,
pub s3_object_key: Option<String>,
}Expand description
The identifier for the S3 resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.s3_bucket_name: Option<String>A bucket in S3.
s3_object_key: Option<String>A object key in S3.
Implementations§
source§impl S3Identifier
impl S3Identifier
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
A bucket in S3.
sourcepub fn s3_object_key(&self) -> Option<&str>
pub fn s3_object_key(&self) -> Option<&str>
A object key in S3.
source§impl S3Identifier
impl S3Identifier
sourcepub fn builder() -> S3IdentifierBuilder
pub fn builder() -> S3IdentifierBuilder
Creates a new builder-style object to manufacture S3Identifier.
Trait Implementations§
source§impl Clone for S3Identifier
impl Clone for S3Identifier
source§fn clone(&self) -> S3Identifier
fn clone(&self) -> S3Identifier
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 Debug for S3Identifier
impl Debug for S3Identifier
source§impl PartialEq for S3Identifier
impl PartialEq for S3Identifier
source§fn eq(&self, other: &S3Identifier) -> bool
fn eq(&self, other: &S3Identifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for S3Identifier
Auto Trait Implementations§
impl RefUnwindSafe for S3Identifier
impl Send for S3Identifier
impl Sync for S3Identifier
impl Unpin for S3Identifier
impl UnwindSafe for S3Identifier
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> 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>
Creates a shared type from an unshared type.