Struct aws_sdk_ec2::model::network_insights_path::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkInsightsPath
.
Implementations§
source§impl Builder
impl Builder
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 network_insights_path_arn(self, input: impl Into<String>) -> Self
pub fn network_insights_path_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the path.
sourcepub fn set_network_insights_path_arn(self, input: Option<String>) -> Self
pub fn set_network_insights_path_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the path.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The time stamp when the path was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The time stamp when the path was created.
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
The Amazon Web Services resource that is the source of the path.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The Amazon Web Services resource that is the source of the path.
sourcepub fn destination(self, input: impl Into<String>) -> Self
pub fn destination(self, input: impl Into<String>) -> Self
The Amazon Web Services resource that is the destination of the path.
sourcepub fn set_destination(self, input: Option<String>) -> Self
pub fn set_destination(self, input: Option<String>) -> Self
The Amazon Web Services resource that is the destination of the path.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (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 Amazon Resource Name (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 source_ip(self, input: impl Into<String>) -> Self
pub fn source_ip(self, input: impl Into<String>) -> Self
The IP address of the Amazon Web Services resource that is the source of the path.
sourcepub fn set_source_ip(self, input: Option<String>) -> Self
pub fn set_source_ip(self, input: Option<String>) -> Self
The IP address of the Amazon Web Services resource that is the source of the path.
sourcepub fn destination_ip(self, input: impl Into<String>) -> Self
pub fn destination_ip(self, input: impl Into<String>) -> Self
The IP address of the Amazon Web Services resource that is the destination of the path.
sourcepub fn set_destination_ip(self, input: Option<String>) -> Self
pub fn set_destination_ip(self, input: Option<String>) -> Self
The IP address of the Amazon Web Services resource that is the destination of the path.
sourcepub fn set_protocol(self, input: Option<Protocol>) -> Self
pub fn set_protocol(self, input: Option<Protocol>) -> Self
The protocol.
sourcepub fn destination_port(self, input: i32) -> Self
pub fn destination_port(self, input: i32) -> Self
The destination port.
sourcepub fn set_destination_port(self, input: Option<i32>) -> Self
pub fn set_destination_port(self, input: Option<i32>) -> Self
The destination port.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags associated with the path.
The tags associated with the path.
sourcepub fn build(self) -> NetworkInsightsPath
pub fn build(self) -> NetworkInsightsPath
Consumes the builder and constructs a NetworkInsightsPath
.