Struct aws_sdk_lookoutvision::types::builders::S3LocationBuilder
source · #[non_exhaustive]pub struct S3LocationBuilder { /* private fields */ }Expand description
A builder for S3Location.
Implementations§
source§impl S3LocationBuilder
impl S3LocationBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
The path of the folder, within the S3 bucket, that contains the output.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
The path of the folder, within the S3 bucket, that contains the output.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
The path of the folder, within the S3 bucket, that contains the output.
sourcepub fn build(self) -> S3Location
pub fn build(self) -> S3Location
Consumes the builder and constructs a S3Location.
Trait Implementations§
source§impl Clone for S3LocationBuilder
impl Clone for S3LocationBuilder
source§fn clone(&self) -> S3LocationBuilder
fn clone(&self) -> S3LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3LocationBuilder
impl Debug for S3LocationBuilder
source§impl Default for S3LocationBuilder
impl Default for S3LocationBuilder
source§fn default() -> S3LocationBuilder
fn default() -> S3LocationBuilder
source§impl PartialEq for S3LocationBuilder
impl PartialEq for S3LocationBuilder
source§fn eq(&self, other: &S3LocationBuilder) -> bool
fn eq(&self, other: &S3LocationBuilder) -> bool
self and other values to be equal, and is used
by ==.