#[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.
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 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.
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 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 build(self) -> Result<AddAssociationInput, BuildError>
pub fn build(self) -> Result<AddAssociationInput, BuildError>
Consumes the builder and constructs a AddAssociationInput
.
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
source§impl PartialEq<AddAssociationInputBuilder> for AddAssociationInputBuilder
impl PartialEq<AddAssociationInputBuilder> for AddAssociationInputBuilder
source§fn eq(&self, other: &AddAssociationInputBuilder) -> bool
fn eq(&self, other: &AddAssociationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.