#[non_exhaustive]pub struct PipelineDefinitionS3LocationBuilder { /* private fields */ }
Expand description
A builder for PipelineDefinitionS3Location
.
Implementations§
source§impl PipelineDefinitionS3LocationBuilder
impl PipelineDefinitionS3LocationBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
Name of the S3 bucket.
This field is required.sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Name of the S3 bucket.
sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Name of the S3 bucket.
sourcepub fn object_key(self, input: impl Into<String>) -> Self
pub fn object_key(self, input: impl Into<String>) -> Self
The object key (or key name) uniquely identifies the object in an S3 bucket.
This field is required.sourcepub fn set_object_key(self, input: Option<String>) -> Self
pub fn set_object_key(self, input: Option<String>) -> Self
The object key (or key name) uniquely identifies the object in an S3 bucket.
sourcepub fn get_object_key(&self) -> &Option<String>
pub fn get_object_key(&self) -> &Option<String>
The object key (or key name) uniquely identifies the object in an S3 bucket.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version.
sourcepub fn build(self) -> PipelineDefinitionS3Location
pub fn build(self) -> PipelineDefinitionS3Location
Consumes the builder and constructs a PipelineDefinitionS3Location
.
Trait Implementations§
source§impl Clone for PipelineDefinitionS3LocationBuilder
impl Clone for PipelineDefinitionS3LocationBuilder
source§fn clone(&self) -> PipelineDefinitionS3LocationBuilder
fn clone(&self) -> PipelineDefinitionS3LocationBuilder
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 PipelineDefinitionS3LocationBuilder
impl Default for PipelineDefinitionS3LocationBuilder
source§fn default() -> PipelineDefinitionS3LocationBuilder
fn default() -> PipelineDefinitionS3LocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PipelineDefinitionS3LocationBuilder
impl PartialEq for PipelineDefinitionS3LocationBuilder
source§fn eq(&self, other: &PipelineDefinitionS3LocationBuilder) -> bool
fn eq(&self, other: &PipelineDefinitionS3LocationBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PipelineDefinitionS3LocationBuilder
Auto Trait Implementations§
impl Freeze for PipelineDefinitionS3LocationBuilder
impl RefUnwindSafe for PipelineDefinitionS3LocationBuilder
impl Send for PipelineDefinitionS3LocationBuilder
impl Sync for PipelineDefinitionS3LocationBuilder
impl Unpin for PipelineDefinitionS3LocationBuilder
impl UnwindSafe for PipelineDefinitionS3LocationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.