#[non_exhaustive]pub struct AddAssociationInputBuilder { /* private fields */ }
Expand description
A builder for AddAssociationInput
.
Implementations§
source§impl AddAssociationInputBuilder
impl AddAssociationInputBuilder
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The ARN of the source.
This field is required.sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The ARN of the source.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The ARN of the source.
sourcepub fn destination_arn(self, input: impl Into<String>) -> Self
pub fn destination_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
This field is required.sourcepub fn set_destination_arn(self, input: Option<String>) -> Self
pub fn set_destination_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the destination.
sourcepub fn get_destination_arn(&self) -> &Option<String>
pub fn get_destination_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination.
sourcepub fn association_type(self, input: AssociationEdgeType) -> Self
pub fn association_type(self, input: AssociationEdgeType) -> Self
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
sourcepub fn set_association_type(self, input: Option<AssociationEdgeType>) -> Self
pub fn set_association_type(self, input: Option<AssociationEdgeType>) -> Self
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
sourcepub fn get_association_type(&self) -> &Option<AssociationEdgeType>
pub fn get_association_type(&self) -> &Option<AssociationEdgeType>
The type of association. The following are suggested uses for each type. Amazon SageMaker places no restrictions on their use.
-
ContributedTo - The source contributed to the destination or had a part in enabling the destination. For example, the training data contributed to the training job.
-
AssociatedWith - The source is connected to the destination. For example, an approval workflow is associated with a model deployment.
-
DerivedFrom - The destination is a modification of the source. For example, a digest output of a channel input for a processing job is derived from the original inputs.
-
Produced - The source generated the destination. For example, a training job produced a model artifact.
sourcepub fn build(self) -> Result<AddAssociationInput, BuildError>
pub fn build(self) -> Result<AddAssociationInput, BuildError>
Consumes the builder and constructs a AddAssociationInput
.
source§impl AddAssociationInputBuilder
impl AddAssociationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<AddAssociationOutput, SdkError<AddAssociationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<AddAssociationOutput, SdkError<AddAssociationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddAssociationInputBuilder
impl Clone for AddAssociationInputBuilder
source§fn clone(&self) -> AddAssociationInputBuilder
fn clone(&self) -> AddAssociationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddAssociationInputBuilder
impl Debug for AddAssociationInputBuilder
source§impl Default for AddAssociationInputBuilder
impl Default for AddAssociationInputBuilder
source§fn default() -> AddAssociationInputBuilder
fn default() -> AddAssociationInputBuilder
impl StructuralPartialEq for AddAssociationInputBuilder
Auto Trait Implementations§
impl Freeze for AddAssociationInputBuilder
impl RefUnwindSafe for AddAssociationInputBuilder
impl Send for AddAssociationInputBuilder
impl Sync for AddAssociationInputBuilder
impl Unpin for AddAssociationInputBuilder
impl UnwindSafe for AddAssociationInputBuilder
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
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)
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>
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>
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 more