Struct aws_sdk_ec2::model::network_insights_analysis::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkInsightsAnalysis
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn network_insights_analysis_id(self, input: impl Into<String>) -> Self
pub fn network_insights_analysis_id(self, input: impl Into<String>) -> Self
The ID of the network insights analysis.
sourcepub fn set_network_insights_analysis_id(self, input: Option<String>) -> Self
pub fn set_network_insights_analysis_id(self, input: Option<String>) -> Self
The ID of the network insights analysis.
sourcepub fn network_insights_analysis_arn(self, input: impl Into<String>) -> Self
pub fn network_insights_analysis_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the network insights analysis.
sourcepub fn set_network_insights_analysis_arn(self, input: Option<String>) -> Self
pub fn set_network_insights_analysis_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the network insights analysis.
sourcepub fn network_insights_path_id(self, input: impl Into<String>) -> Self
pub fn network_insights_path_id(self, input: impl Into<String>) -> Self
The ID of the path.
sourcepub fn set_network_insights_path_id(self, input: Option<String>) -> Self
pub fn set_network_insights_path_id(self, input: Option<String>) -> Self
The ID of the path.
sourcepub fn additional_accounts(self, input: impl Into<String>) -> Self
pub fn additional_accounts(self, input: impl Into<String>) -> Self
Appends an item to additional_accounts
.
To override the contents of this collection use set_additional_accounts
.
The member accounts that contain resources that the path can traverse.
sourcepub fn set_additional_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_additional_accounts(self, input: Option<Vec<String>>) -> Self
The member accounts that contain resources that the path can traverse.
sourcepub fn filter_in_arns(self, input: impl Into<String>) -> Self
pub fn filter_in_arns(self, input: impl Into<String>) -> Self
Appends an item to filter_in_arns
.
To override the contents of this collection use set_filter_in_arns
.
The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.
sourcepub fn set_filter_in_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_filter_in_arns(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The time the analysis started.
sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The time the analysis started.
sourcepub fn status(self, input: AnalysisStatus) -> Self
pub fn status(self, input: AnalysisStatus) -> Self
The status of the network insights analysis.
sourcepub fn set_status(self, input: Option<AnalysisStatus>) -> Self
pub fn set_status(self, input: Option<AnalysisStatus>) -> Self
The status of the network insights analysis.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message, if the status is failed
.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message, if the status is failed
.
sourcepub fn warning_message(self, input: impl Into<String>) -> Self
pub fn warning_message(self, input: impl Into<String>) -> Self
The warning message.
sourcepub fn set_warning_message(self, input: Option<String>) -> Self
pub fn set_warning_message(self, input: Option<String>) -> Self
The warning message.
sourcepub fn network_path_found(self, input: bool) -> Self
pub fn network_path_found(self, input: bool) -> Self
Indicates whether the destination is reachable from the source.
sourcepub fn set_network_path_found(self, input: Option<bool>) -> Self
pub fn set_network_path_found(self, input: Option<bool>) -> Self
Indicates whether the destination is reachable from the source.
sourcepub fn forward_path_components(self, input: PathComponent) -> Self
pub fn forward_path_components(self, input: PathComponent) -> Self
Appends an item to forward_path_components
.
To override the contents of this collection use set_forward_path_components
.
The components in the path from source to destination.
sourcepub fn set_forward_path_components(
self,
input: Option<Vec<PathComponent>>
) -> Self
pub fn set_forward_path_components(
self,
input: Option<Vec<PathComponent>>
) -> Self
The components in the path from source to destination.
sourcepub fn return_path_components(self, input: PathComponent) -> Self
pub fn return_path_components(self, input: PathComponent) -> Self
Appends an item to return_path_components
.
To override the contents of this collection use set_return_path_components
.
The components in the path from destination to source.
sourcepub fn set_return_path_components(
self,
input: Option<Vec<PathComponent>>
) -> Self
pub fn set_return_path_components(
self,
input: Option<Vec<PathComponent>>
) -> Self
The components in the path from destination to source.
sourcepub fn explanations(self, input: Explanation) -> Self
pub fn explanations(self, input: Explanation) -> Self
Appends an item to explanations
.
To override the contents of this collection use set_explanations
.
The explanations. For more information, see Reachability Analyzer explanation codes.
sourcepub fn set_explanations(self, input: Option<Vec<Explanation>>) -> Self
pub fn set_explanations(self, input: Option<Vec<Explanation>>) -> Self
The explanations. For more information, see Reachability Analyzer explanation codes.
sourcepub fn alternate_path_hints(self, input: AlternatePathHint) -> Self
pub fn alternate_path_hints(self, input: AlternatePathHint) -> Self
Appends an item to alternate_path_hints
.
To override the contents of this collection use set_alternate_path_hints
.
Potential intermediate components.
sourcepub fn set_alternate_path_hints(
self,
input: Option<Vec<AlternatePathHint>>
) -> Self
pub fn set_alternate_path_hints(
self,
input: Option<Vec<AlternatePathHint>>
) -> Self
Potential intermediate components.
sourcepub fn suggested_accounts(self, input: impl Into<String>) -> Self
pub fn suggested_accounts(self, input: impl Into<String>) -> Self
Appends an item to suggested_accounts
.
To override the contents of this collection use set_suggested_accounts
.
Potential intermediate accounts.
sourcepub fn set_suggested_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_suggested_accounts(self, input: Option<Vec<String>>) -> Self
Potential intermediate accounts.
The tags.
sourcepub fn build(self) -> NetworkInsightsAnalysis
pub fn build(self) -> NetworkInsightsAnalysis
Consumes the builder and constructs a NetworkInsightsAnalysis
.