Struct aws_sdk_sagemaker::input::query_lineage_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for QueryLineageInput
.
Implementations§
source§impl 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 have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
sourcepub fn set_direction(self, input: Option<Direction>) -> Self
pub fn set_direction(self, input: Option<Direction>) -> Self
Associations between lineage entities have a direction. This parameter determines the direction from the StartArn(s) that the query traverses.
sourcepub fn include_edges(self, input: bool) -> Self
pub fn include_edges(self, input: bool) -> Self
Setting this value to True
retrieves 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
retrieves 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 are 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 are 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
.