Struct aws_sdk_personalize::types::builders::S3DataConfigBuilder
source · #[non_exhaustive]pub struct S3DataConfigBuilder { /* private fields */ }
Expand description
A builder for S3DataConfig
.
Implementations§
source§impl S3DataConfigBuilder
impl S3DataConfigBuilder
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The file path of the Amazon S3 bucket.
This field is required.sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Key Management Service (KMS) key that Amazon Personalize uses to encrypt or decrypt the input and output files.
sourcepub fn build(self) -> Result<S3DataConfig, BuildError>
pub fn build(self) -> Result<S3DataConfig, BuildError>
Consumes the builder and constructs a S3DataConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3DataConfigBuilder
impl Clone for S3DataConfigBuilder
source§fn clone(&self) -> S3DataConfigBuilder
fn clone(&self) -> S3DataConfigBuilder
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 S3DataConfigBuilder
impl Debug for S3DataConfigBuilder
source§impl Default for S3DataConfigBuilder
impl Default for S3DataConfigBuilder
source§fn default() -> S3DataConfigBuilder
fn default() -> S3DataConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3DataConfigBuilder
impl PartialEq for S3DataConfigBuilder
source§fn eq(&self, other: &S3DataConfigBuilder) -> bool
fn eq(&self, other: &S3DataConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3DataConfigBuilder
Auto Trait Implementations§
impl Freeze for S3DataConfigBuilder
impl RefUnwindSafe for S3DataConfigBuilder
impl Send for S3DataConfigBuilder
impl Sync for S3DataConfigBuilder
impl Unpin for S3DataConfigBuilder
impl UnwindSafe for S3DataConfigBuilder
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.