Struct aws_sdk_sagemaker::input::query_lineage_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for QueryLineageInput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn start_arns(self, input: impl Into<String>) -> Self
pub fn start_arns(self, input: impl Into<String>) -> Self
Appends an item to start_arns
.
To override the contents of this collection use set_start_arns
.
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.
sourcepub fn set_start_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_start_arns(self, input: Option<Vec<String>>) -> Self
A list of resource Amazon Resource Name (ARN) that represent the starting point for your lineage query.
sourcepub fn direction(self, input: Direction) -> Self
pub fn direction(self, input: Direction) -> Self
Associations between lineage entities are directed. This parameter determines the direction from the StartArn(s) the query will look.
sourcepub fn set_direction(self, input: Option<Direction>) -> Self
pub fn set_direction(self, input: Option<Direction>) -> Self
Associations between lineage entities are directed. This parameter determines the direction from the StartArn(s) the query will look.
sourcepub fn include_edges(self, input: bool) -> Self
pub fn include_edges(self, input: bool) -> Self
Setting this value to True
will retrieve not only the entities of interest but also the Associations and lineage entities on the path. Set to False
to only return lineage entities that match your query.
sourcepub fn set_include_edges(self, input: Option<bool>) -> Self
pub fn set_include_edges(self, input: Option<bool>) -> Self
Setting this value to True
will retrieve not only the entities of interest but also the Associations and lineage entities on the path. Set to False
to only return lineage entities that match your query.
sourcepub fn filters(self, input: QueryFilters) -> Self
pub fn filters(self, input: QueryFilters) -> Self
A set of filtering parameters that allow you to specify which entities should be returned.
-
Properties - Key-value pairs to match on the lineage entities' properties.
-
LineageTypes - A set of lineage entity types to match on. For example:
TrialComponent
,Artifact
, orContext
. -
CreatedBefore - Filter entities created before this date.
-
ModifiedBefore - Filter entities modified before this date.
-
ModifiedAfter - Filter entities modified after this date.
sourcepub fn set_filters(self, input: Option<QueryFilters>) -> Self
pub fn set_filters(self, input: Option<QueryFilters>) -> Self
A set of filtering parameters that allow you to specify which entities should be returned.
-
Properties - Key-value pairs to match on the lineage entities' properties.
-
LineageTypes - A set of lineage entity types to match on. For example:
TrialComponent
,Artifact
, orContext
. -
CreatedBefore - Filter entities created before this date.
-
ModifiedBefore - Filter entities modified before this date.
-
ModifiedAfter - Filter entities modified after this date.
sourcepub fn max_depth(self, input: i32) -> Self
pub fn max_depth(self, input: i32) -> Self
The maximum depth in lineage relationships from the StartArns
that will be traversed. Depth is a measure of the number of Associations
from the StartArn
entity to the matched results.
sourcepub fn set_max_depth(self, input: Option<i32>) -> Self
pub fn set_max_depth(self, input: Option<i32>) -> Self
The maximum depth in lineage relationships from the StartArns
that will be traversed. Depth is a measure of the number of Associations
from the StartArn
entity to the matched results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Limits the number of vertices in the results. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Limits the number of vertices in the results. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Limits the number of vertices in the request. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Limits the number of vertices in the request. Use the NextToken
in a response to to retrieve the next page of results.
sourcepub fn build(self) -> Result<QueryLineageInput, BuildError>
pub fn build(self) -> Result<QueryLineageInput, BuildError>
Consumes the builder and constructs a QueryLineageInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more